4D v13.4

LISTBOX Get column width

Home

 
4D v13.4
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

 
INDEX

Alphabetical list of commands

 
HISTORY 

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

 
SEE ALSO 

LISTBOX SET COLUMN WIDTH