RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSession.OnStartup Event

Occurs when an application activates a session.

Pascal
property OnStartup: TNotifyEvent;
C++
__property TNotifyEvent OnStartup;

Write an OnStartup event handler to take specific actions when an application activates a session. A session is activated by setting its Active property to true, or by opening a database or dataset associated with the session (both of which set Active to true). 

 

Active 

Open 

OpenDatabase 

Activating a Session

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!