Update cookies preferences
Promotic

SetColWidth - method of the PmgWTable object

Description:
Sets column width (in pixels).
Syntax:
Empty SetColWidth(Long Col, Long Value)
Parameters:
Col(Long) If the value is greater or equal 0 then it is a column index (zero-based index, counted including the fixed part).
Value -2 means the last column.
Value -3 sets the value in all columns (counted including the fixed part).
Value(Long) The new value to be written.
Note:
This method is also functional in Web panels.
See also:
Example:
Sets the width of the 5th column
JavaScriptVBScriptSelect and copy to clipboard

var oTable = pMe.Items("/Table");
oTable.SetColWidth(4, 80);
oTable.Draw();

History:
Pm8.02.00: Property ColWidth is replaced by methods GetColWidth and SetColWidth.
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.