Height property

Use the Height property to specify the height of a form or component in character-height units. The actual height depends on screen resolution and on the base font specified in the For forms field in the Settings dialog box. The system calculates displayed height from the two factors.

Base font and screen resolution determine the maximum value that you can enter as a Height property. If you enter a value that exceeds the maximum, WinStudio reduces the value to the allowed maximum when you save the form.

Users can change the base font specification in the Settings dialog, as well as change screen resolution through the operating system. Font size can be increased and/or screen resolution decreased to the point that the height of a form is too great to fit the screen. Note that if you open the form in Design Mode, Windows client reduces the Height property to the calculated maximum value. At run time, the form is truncated.

When the width or height of a form prevents the entire form from displaying properly, Windows client raises a warning message.

The character-height unit derived from the base font applies to component height values even if a component's Font property differs from the base font. The Font property specifies only the display of text in the component.