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

Adjusting Window Height

Status
Not open for further replies.

Taff07

MIS
Jul 18, 2001
160
GB
Hi,

Anyone know how to adjust the window height within coding?

I have my Detail section of my form set to invisible at load up. The user then chooses the record they wish to view from the form and the detail section is then set to visible. What I need to do is then change the height of the form to expand to include the Detail section.

Any ideas?

Thanks

Ian
 
I'm not sure if there is a height property for the form a sin VB. However, you could try the MoveSize method which sets the position and size of forms (see the help files). Have fun! :eek:)

Alex Middleton
 
Thanks,

Found a property.

It called InsideHeight. You just set this to whatever you require. There is an equivilent one for width as well :)

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top