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

Properties for resizing main application window 1

Status
Not open for further replies.

ribsa3

Programmer
Jun 17, 2003
56
Hi there. Simple question, I know

I just wish to know how I can manipulate a form (in my case, the main application window) in ways of changing its height. Also I need to know how to toggle Locked between true/false.

Form1.Size.Height = would be great but I bet you are laughing already..


Help?

Kindly, Bjoern Sandvik



--------------------------------------------------------------------
Do what you wish, as long as it harms no one. That includes yourself.
 
Either MyFormInstance.Height -OR-
MyFormInstance.Size = New Size(100,100)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top