1 1 Vote

Delphi: Full Screen Mode for Delphi Application

Question by Guest | 08/05/2012 at 15:48

I want to run one of my Delphi programs in full screen. This means, that the bar of the window should not be visible and the task bar of Windows should be hidden, too. In other words, the form should cover the whole screen.

Is there any way to adjust a Delphi program, so that it really fills the entire screen?

ReplyPositiveNegativeDateVotes

Compi

Show Profile | Message
Avatar
22 Votes

Simply set the BorderStyle property in the Object Inspector to bsNone. With this, the bar of the window will not be displayed. Furthermore, you have to write this to the OnCreate of your form:

form1.height := screen.height;
form1.width := screen.width;

So, you set the height and the width of the form to the height and the width of your screen.

With this, it should work!
11/05/2012 at 09:13

ReplyPositive Negative

Delphian

Show Profile | Message
Avatar
6Best Answer
6 Votes

There is a much easier way to achieve the same. Adjust in the Object Inspector of the form the following properties:

  • BoderStyle to bsNone
  • WindowState to wsMaximized

With BorderStyle, you can suppress the frame and the edge of the window. With WindowStare and wsMaximized, you achieve, that the window will be automatically expanded, so that the whole screen will be filled.
11/05/2012 at 17:07

ReplyPositive Negative
Reply

Related Topics

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own articles on askingbox.com. How to do.