Column class
One column of a WaynesGrid. Has a Caption that is shown in the column-header row and a Width that the user can drag at run time. Elements of WaynesGrid.Columns.
Dim cols(0 To 2) As Column
Set cols(0) = New Column
cols(0).Caption = "ID"
cols(0).Width = 80
Grid1.Columns = cols
Properties
Caption
The text shown in the column-header cell. String. Default: "Column".
Width
The column’s width in pixels (unscaled by DPI). PixelCount. Default: 100. Editable by the user at run time by dragging the resizer bar on the column’s right edge; assignments at run time update the grid immediately.
Events
OnChanged
Raised when Caption or Width is assigned. The parent WaynesGrid listens for this and requests a repaint.