4D v14.3

LISTBOX SET LOCKED COLUMNS

Home

 
4D v14.3
LISTBOX SET LOCKED COLUMNS

LISTBOX SET LOCKED COLUMNS 


 

LISTBOX SET LOCKED COLUMNS ( {* ;} object ; numColumns ) 
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)
numColumns  Longint in Number of columns to lock

The LISTBOX SET LOCKED COLUMNS command locks numColumns columns (starting from the first on the left) in the list box designated by the object and * parameters.

Locked columns are shown in the left part of the list box and do not scroll with the rest of the list box columns. For more information, refer to the Design Reference manual.

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.

In numColumns, you can pass any value included between 1 and the total number of columns in the list box minus 1. For a list box with X columns, if you pass a value > X-1 in numColumns, it will be reduced automatically to the value X-1.

To remove column locking, pass 0 in numColumns.

 
PROPERTIES 

Product: 4D
Theme: List Box
Number: 1151

 
HISTORY 

Created: 4D v13

 
SEE ALSO 

LISTBOX Get locked columns
LISTBOX SET STATIC COLUMNS

 
ARTICLE USAGE

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