Promotic

GetColWidth - method of the PmgWTable object

Description:
Returns column width (in pixels).
Syntax:
Long GetColWidth(Long Col)
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.
Note:
This method is also functional in Web panels.
See also:
Example:
Detects the width of the 5th column
JavaScriptVBScriptSelect and copy to clipboard

var oTable = pMe.Items("/Table");
var nWidth = oTable.GetColWidth(4);

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

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