Show Form Height (1 Viewer)

kirkm

Registered User.
Local time
Tomorrow, 09:17
Joined
Oct 30, 2008
Messages
1,313
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
Tomorrow, 04:17
Joined
May 7, 2009
Messages
14,021
use WindowHeight property.
you may even want to know the InsideHeight.
 

Users who are viewing this thread

Top Bottom