new user debug question

  • Thread starter Thread starter Victoria
  • Start date Start date
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
 
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
 
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.
__________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top