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 >=0 then it is a index of the column (zero-based index).
Value -2 means the last column.
Value -3 sets the value to all columns.
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 8th column
Dim oTable
Set oTable = pMe.Items("/Ax0").Acx
oTable.SetColWidth 7,80
oTable.Draw
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice