Delphi Tips Trick

For Newbie

Iklan Responsive Atas

LightBlog
Responsive Ads Here

Tuesday, 15 November 2011

Quick tricks to know the screen resolution being used by Delphi



Use this command to determine W Screen.Width Screen.Height screen and screen to determine H
Example of implementation:
TForm1.FormCreate procedure (Sender: TObject);
begin
   Label2.Caption: = IntToStr (Screen.Width) + 'x' + IntToStr (Screen.Height);
end;

No comments: