Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TABSSession.Active
TABSSession
Top 


Specifies whether or not a session is active.

property Active: Boolean;

Description

Examine Active at runtime for the default session, Session, to determine if it is active or not. Active is False by default, meaning there are no open database connections or datasets associated with the session. If Active is True, the session is active even if there are currently no active database connections.

Set the Active property at design time or runtime for additional session components in a database application. Setting Active to True starts the session and makes it the current session. Setting Active to True triggers an OnStartup event handler for the session.

Setting Active to False (the default), closes any open datasets, and disconnects from attached database servers.

Note:   An application can close the default session by setting Active to False, but this is not recommended.
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 16, 2024