Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Take up entire screen with a form 2

Status
Not open for further replies.

perplexd

Programmer
May 9, 2002
154
US
How do I make a form take up the entire screen? I also want the form not to have any control points for resizing etc and no way out of the form unless you do something like right-click on it, which will bring up a menu.

Basically I want to what a DVD player does when it takes up the entire screen and you must right-click to get out.

Thanks for any help
 
Try this

At design time set the forms ControlBox property to False (this removes the 'Close' X at the top of the form)

Set the Forms WindowState to VBMaximised

Let me know if this helps
 
Have a look at some of these properties of the form. By setting some of them, others are automatically set. As a thought you may also want to do some control resizing just in case the user's display settings are different form yours.

Hope it helps

borderstyle - fixedsingle
controlbox - false
maxbutton - false
minbutton - false
moveable - false
windowstate - max

'get out of form
Unload Form1
 
That almost works...except it still has a title bar along the top. How do we get rid of that?

Sorry I'm new so this maybe a dumb question!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top