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 >=0 then it is a index of the column (zero-based index). 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 8th column
Dim oTable, nWidth
Set oTable = pMe.Items("/Ax0").Acx
nWidth = oTable.GetColWidth(7)
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice