Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetColWidth - method of object PmTable

Description:
Sets column width (in pixels).
Syntax:
SetColWidth(Col As Long, Value As Long)
Calling:
oTable.SetColWidth col,width
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).
Value(Long) The new value to be written.
Note:

The method can also be called in the graphic item events for Web panels.

See also:
Example:
Sets the width of the 5th column
JavaScriptVBScriptSelect and copy to clipboard

var oTable = pMe.Items("/Ax0").Acx;
oTable.SetColWidth(4, 80);
oTable.Draw();
PROMOTIC 8.3.26 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