Show Form Height (1 Viewer)

kirkm

Registered User.
Local time
Tomorrow, 00:05
Joined
Oct 30, 2008
Messages
1,257
I have a Form sized to fit the screen but when I open another Form (popup) on top of it, the height alters slightly and it acquires a vertical scrollbar.
To try and avoid this I want first to see the Forms height before and after this popup form opens.
In Properties frmMain Detail under 'All' I see it's height in cm.

However in code the command
Msgbox Form_frmMain.Height brings up an error.

as does

Msgbox Form_frmMain Detail.Height

How might I resolve that ? Thanks.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 19:05
Joined
May 7, 2009
Messages
19,175
use WindowHeight property.
you may even want to know the InsideHeight.
 

Users who are viewing this thread

Top Bottom