--> Creating a Full Screen Form on Delphi | Delphi Tips Trick

For Newbie

Tuesday, 15 November 2011

Creating a Full Screen Form on Delphi

| Tuesday, 15 November 2011

Trick display the form to be full screen, follow the width and height of the screen.

Edit the Form OnCreate event or onShow:
TForm1.FormCreate procedure (Sender: TObject);
begin
   BorderStyle: = bsNone;
   WindowState: = wsMaximized;
   Width: = Screen.Width;
   Height: = Screen.Height;
end;

Related Posts

1 comment:

Anonymous said...

This works great.
Thanks