4D v14.3

LISTBOX Get column width

Home

 
4D v14.3
LISTBOX Get column width

LISTBOX Get column width 


 

LISTBOX Get column width ( {* ;} object {; minWidth {; maxWidth}} ) -> 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)
minWidth  Longint in Minimum column width (in pixels)
maxWidth  Longint in Maximum column width (in pixels)
Function result  Longint in Column width (in pixels)

The LISTBOX Get column width command returns the width (in pixels) of the column set in the object and * parameters. You can pass either a list box column or a column header in the object parameter.

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.

LISTBOX Get column width can return the resizing limits of the column in the minWidth and maxWidth parameters. These limits can be specified via the LISTBOX SET COLUMN WIDTH command.
If no minimum and/or maximum value has been set for the column, the corresponding parameter returns 0.

 
PROPERTIES 

Product: 4D
Theme: List Box
Number: 834

 
HISTORY 

Created: 4D 2004
Modified: 4D v12
Renamed: 4D v12

 
SEE ALSO 

LISTBOX SET COLUMN WIDTH

 
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 listbox column width ( 4D v11 SQL Release 6)