new user debug question

V

Victoria

hello

What is the syntax to get the height of a form in the immediate window. The
following doesn't seem to work.

debug.print Forms!frmMenu.Height

thanks in advance
 
J

Jeanette Cunningham

Hi Victoria,
You can get the height of each section like this:
?forms!frmName.section(acdetail).Height
?forms!frmName.section(acheader).Height

If you look at the form in design view you will see that it doesn't have a
height property, but each section has a height property.

Jeanette Cunningham
 
B

boblarson

For a form you can get InsideHeight and InsideWidth.

debug.print Forms!frmMenu.InsideHeight

--
Bob Larson
Access World Forums Super Moderator
Utter Access VIP
Tutorials at http://www.btabdevelopment.com
If my post was helpful to you, please rate the post.
__________________________________
 
Top