For Newbie

Tuesday, 15 November 2011

Creating a Full Screen Form on Delphi


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;

Share on Facebook
Share on Twitter
Share on Google+

Related : Creating a Full Screen Form on Delphi