Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ColWidth - property of object PmTable

Description:
Width of the table column (in pixels).

This property is obsolete (but functional) and is replaced by SetColWidth and GetColWidth methods.

Syntax:
ColWidth(Col As Long) As Long
Calling:
oTable.ColWidth(col) = n
Parameters:
Col(Long) If the value is >=0 then it is a index of the column (zero-based index).
Value -2 means the last column.
Value -3 sets the value to all columns.
Note:
Property access for read and write.

This property is not functional for Web Panels in JavaScript language.

See also:
Example:
Sets the width of the fifth column to 80 pixels
oTable.ColWidth(4) = 80
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice