Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetColWidth - method of object PmTable

Description:
Returns column width (in pixels).
Syntax:
GetColWidth(Col As Long) As Long
Calling:
nWidth = oTable.GetColWidth(col)
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.

Note:

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

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

var oTable = pMe.Items("/Ax0").Acx;
var nWidth = oTable.GetColWidth(4);
PROMOTIC 8.3.23 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