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 greater or equal 0 then it is a index of the column (zero-based index, counted including the fixed part).
Value -2 means the last column.
Value -3 sets the value to all columns (counted including the fixed part).
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 5th column to 80 pixels
VBScriptSelect and copy to clipboard

Dim oTable
Set oTable = pMe.Items("/Ax0").Acx
oTable.ColWidth(4) = 80
oTable.Draw
PROMOTIC 8.3.22 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice