4D v16.3

LISTBOX Get row height

Home

 
4D v16.3
LISTBOX Get row height

LISTBOX Get row height 


 

LISTBOX Get row height ( {* ;} object ; row ) -> Function result 
Parameter Type   Description
Operator in If specified, object is an object name (string) If omitted, object is a variable
object  Form object in Object name (if * is specified) or Variable (if * is omitted)
row  Longint in List box row whose height you want to get
Function result  Integer in Row height

This command requires a 4D View Pro license. If this license is not available, an error is displayed in the list box when the form is executed. For more information, please refer to the 4D View Pro section.

The LISTBOX Get row height command returns the current height of the specified row in the list box object designated using the object and * parameters. Row height can be set globally using the Property List or the LISTBOX SET ROWS HEIGHT command, or individually by means of the LISTBOX SET ROW HEIGHT command.

If you pass the optional * parameter, you indicate that the object parameter is an object name (string). If you do not pass this parameter, you indicate that the object parameter is a variable. In this case, you pass a variable reference instead of a string. For more information about object names, refer to the Object Properties section.

If the specified row does not exist in the list box, the command returns 0 (zero).

The row height is returned using the current unit defined for the list box rows globally, either in the Property list or by a prior call to the LISTBOX SET ROWS HEIGHT command.



See also 

LISTBOX Get rows height
LISTBOX SET ROW HEIGHT

 
PROPERTIES 

Product: 4D
Theme: List Box
Number: 1408

 
HISTORY 

New
Created: 4D v16

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)