Home > Back-end >  Help: how to make the program under different resolution normal display on the right side of the scr
Help: how to make the program under different resolution normal display on the right side of the scr

Time:10-02

I write software under 1280 * 1024 resolution is displayed on the right side of the main screen, but in the resolution of 800 * 600 or even lower in some machines found in program interface display is not complete or not, could you tell me what method can make the program perfect adaptation of different resolution without changing the resolution of the users of the software? Thank you,

CodePudding user response:

1, in the main MainFrm in TTimer, 2-3 seconds time,
2, in the TTimer, write the Timer event code:
 procedure TServerFrm. Timer4Timer (Sender: TObject); 
The begin
ServerFrm. Top:=0;
ServerFrm. Left:=Screen Width - ServerFrm. Width;
Timer4. Enabled:=False;
The end;
  • Related