4D v16.3

LISTBOX Get static columns

Home

 
4D v16.3
LISTBOX Get static columns

LISTBOX Get static columns 


 

LISTBOX Get static columns ( {* ;} 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 static columns

The LISTBOX Get static columns command returns the number of static columns 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.

Static columns can be set through the Property List or using the LISTBOX SET STATIC COLUMNS command.

If a column is inserted or deleted by programming within a set of static columns, the number of columns returned by this command takes this change into account.
However, the command does not take into account the visible/invisible status of columns.

Note: Static columns and locked columns are two independent functions. For more information, refer to the Design Reference manual.



See also 

LISTBOX SET STATIC COLUMNS

 
PROPERTIES 

Product: 4D
Theme: List Box
Number: 1154

 
HISTORY 

Created: 4D v13

 
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)