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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resize form to make larger than the screen

Status
Not open for further replies.

RWWAMS

Technical User
Jan 3, 2003
104
US
Hi everyone, I'm the first to admit that my experience with VB is limited, so please forgive me if I'm asking stupid questions. I've been working with VB for a little while now, and it seems as though there is a lot going on that I just don't understand.

In this case, all I want to do is programatically resize my form height. However, when I set the height of the form in the form_load event, it just flat-out doesn't work. I've been fooling around with the properties, but I'm guessing.

Any help with this would be very much appreciated.
 
What code are you using.

It should be:

me.height = screen.height if you want to fill screen completely.

BB
 
Sorry if I wasn't clear. I wanted to make the form larger than the screen.
 
You can't force forms large than than the screen unless they are within MDI forms. The other way to achieve it, is to place a picturebox on your form, where this picturebox is larger than the screen, and this then makes your area bigger. Using scroll bars, you can then move the picturebox, and keep the form in the same place.

BB
 
What if you set the screen resolution to 1280x1024, adjust the form size, put some objects on the form, and then reset the resolution to 1024x768. Won't that be any good?.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top