OnBeginningOfPanel - DataList
Snaps the grid back to column zero whenever the message beginning_of_panel is sent to a view
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| hoPanel | Integer | The handle of the panel object |
Syntax
Procedure OnBeginningOfPanel Integer hoPanel
Description
In dbGrids and dbLists (actually the Datalist class) the OnBeginningOfPanel method is used to snap the grid back to column zero whenever the message beginning_of_panel is sent to a view. The message beginning_of_panel sends the message OnBeginningOfPanel to all objects. When the dbGrid or dbList receives the message it does the following:
// augment to always force the first column to be visible. This will occur during a
// panel's clear or save. It makes sense to restore the column. If you do no want this
// behavior just cancel it.
Procedure OnBeginningofPanel
Send DoMakeColumnVisible 0
end_procedure