Icon OnStartup Event

property OnStartup: TNotifyEvent

Usage

The OnStartup event is fired when an application activates a session. Assign an event handler to the OnStartup event to take specific actions when an application activates a session. A session is activated by setting its Active property to True, calling its Open method, or by opening or activating a TDBISAMDatabase, TDBISAMQuery, or TDBISAMTable component linked to the session via their SessionName properties.

Information You should not call the TDBISAMSession Open method or toggle the Active property from within this event handler. Doing so can cause infinite recursion.
Image