Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.08 KB

File metadata and controls

38 lines (27 loc) · 1.08 KB
title Column
parent WaynesGrid
grand_parent CustomControls Package
permalink /tB/Packages/CustomControls/WaynesGrid/Column
has_toc false

Column class

{: .no_toc }

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.

ReDim Grid1.Columns(2)
Set Grid1.Columns(0) = New Column
Grid1.Columns(0).Caption = "ID"
Grid1.Columns(0).Width = 80

Properties

Caption

{: .no_toc }

The text shown in the column-header cell. String. Default: "Column".

Width

{: .no_toc }

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

{: .no_toc }

Raised when Caption or Width is assigned. The parent WaynesGrid listens for this and requests a repaint.