4D v14.3

LISTBOX Get number of rows

Home

 
4D v14.3
LISTBOX Get number of rows

LISTBOX Get number of rows 


 

LISTBOX Get number of rows ( {* ;} object ) -> 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)
Function result  Longint in Number of rows

The LISTBOX Get number of rows command returns the number of rows in the list box set in the object and * parameters.

Note: This command does not take the hidden/displayed state of the rows into account. For example, in a list box with 10 rows where the first 9 rows are hidden, LISTBOX Get number of rows will return 10.

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.

Note: If the arrays associated with the columns of a List box do not all have the same size, only the number of items corresponding to the smallest array will appear in the list box and thus be returned by this command.

 
PROPERTIES 

Product: 4D
Theme: List Box
Number: 915

 
HISTORY 

Modified: 4D v11 SQL Release 2
Renamed: 4D v12

 
SEE ALSO 

LISTBOX DELETE ROWS
LISTBOX INSERT ROWS

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : Get number of listbox rows ( 4D v11 SQL Release 6)