Tuesday, 15 November 2011
Home »
Tips and Trick Delphi
» Creating a Full Screen Form on Delphi
Creating a Full Screen Form on Delphi
To Share | 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;
1 comment:
This works great.
Thanks
Post a Comment