Skip to main content
Version: 20 R7 BETA

LISTBOX SET FOOTERS HEIGHT

LISTBOX SET FOOTERS HEIGHT ( {* ;} object ; height {; unit} )

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)If omitted, object is a variable
objectanyObject Name (if * is specified) or Variable (if * is omitted)
heightIntegerRow height
unitIntegerUnit of height value: 0 or omitted = pixels, 1 = lines

Description

The LISTBOX SET FOOTERS HEIGHT command modifies by programming the height of the footer row in the list box designated by the object and * parameters.

If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable. In this case, you pass a variable reference instead of a string. You can designate either the list box or any footer of the list box.

Pass the height to set in the height parameter. By default, if you omit the unit parameter, this height is expressed in pixels. To change the unit, you can pass one of the following constants (found in the List Box theme), in the unit parameter:

ConstantTypeValueComment
lk linesInteger1Height is expressed as a number of lines. 4D calculates the height of a line according to the font.
lk pixelsInteger0Height is expressed as a number of pixels (default).

Note: For more information about the calculation of row heights, refer to the Design Reference manual.

See also

LISTBOX Get footers height

Properties

Command number1145
Thread safe