4D v14.3

LISTBOX SET COLUMN WIDTH

Home

 
4D v14.3
LISTBOX SET COLUMN WIDTH

LISTBOX SET COLUMN WIDTH 


 

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

The LISTBOX SET COLUMN WIDTH command allows you to modify through programming the width of one or all column(s) of the object (list box, column or header) set using the object and * parameters.

If you pass the optional * parameter, you indicate that the object parameter is an object name (a string). If you do not pass this paraemter, 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.

Pass the new width (in pixels) of the object in the width parameter.

If object sets the list box object, all columns of the list box are resized.

If object sets a column or a column header, only the column set is resized.

The optional minWidth and maxWidth parameters can be used to set limits for the manual resizing of the column You can pass, respectively, the minimum and maximum width expressed in pixels in the minWidth and maxWidth parameters. If you want users to be unable to resize the column, you can pass the same value in width, minWidth and maxWidth .

 
PROPERTIES 

Product: 4D
Theme: List Box
Number: 833

 
HISTORY 

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

 
SEE ALSO 

LISTBOX Get 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 : SET LISTBOX COLUMN WIDTH ( 4D v11 SQL Release 6)