SimpleDS.TSimpleDataSet.BeforeOpen
Delphi
property BeforeOpen: TDataSetNotifyEvent read FBeforeOpen write FBeforeOpen;
C++
__property BeforeOpen;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | SimpleDS.pas SimpleDS.hpp |
SimpleDS | TSimpleDataSet |
Description
Occurs before an application executes a request to open a dataset.
SimpleDS.TSimpleDataSet.BeforeOpen inherits from Data.DB.TDataSet.BeforeOpen. All content below this line refers to Data.DB.TDataSet.BeforeOpen.
Occurs before an application executes a request to open a dataset.
Write a BeforeOpen event handler to take specific action before an application opens a dataset for viewing or editing. BeforeOpen is triggered when an application sets the Active property to true for a dataset or an application calls Open.
BeforeOpen is an event handler of type Data.DB.TDataSetNotifyEvent.