HEIGHT attribute
The HEIGHT
attribute forces an explicit height for a form
element.
Syntax
HEIGHT = integer [
CHARACTERS|
LINES|
POINTS|
PIXELS]
- value is an integer that defines the height of the element.
Usage
By default, the height of an element is defined by the size of the form item tag. Use the HEIGHT
attribute, to define a specific height for a form item.
If you don't specify a size unit for the HEIGHT
attribute, it defaults to
CHARACTERS
, which defines a height based on the characters size in the current
font.
For sizable items like IMAGE
and WEBCOMPONENT
, the default
height is defined by the number of lines of the form item tag in the layout, as a vertical character
height. Overwrite this default by specifying the HEIGHT
attribute:
IMAGE img1: image1, WIDTH = 20, HEIGHT = 12;
For TABLE
/TREE
containers, the default height is defined by the
number of lines used in the table layout. Overwrite the default by specifying the HEIGHT =
x LINES
attribute:
TABLE tab1: table1, HEIGHT = 25 LINES;