Description
Set or retrieve width of one or more columns in an edit table control.
Applies to
Edit table.
Syntax
columnwidth = Send_Message(controlID, "COLWIDTH", columnno, newwidth)
Parameters
Parameters are as follows.
Parameter | Description |
---|---|
Columnno | Column position, beginning from 1. Use 0 to specify all columns. |
Newwidth | If columnno > 0, newwidth indicates the width (in pixels) of the column. If columnno is 0, passes an @FM-delimited array of column widths to resize existing columns. Pass null, to leave width intact. |
Returns
Returns specified column width(s) (if multiple columns, in an @FM-delimited array.
See also
AUTOSIZECOL property, COLDATA property, COLLABEL message, COLSTYLE message