RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBEvents.AutoRegister Property

Specifies the AutoRegister on which to perform event alerter tasks.

Pascal
property AutoRegister: Boolean;
C++
__property Boolean AutoRegister;

When AutoRegister is true, the database automatically registers this component's events whenever it opens a connection to the InterBase server. When AutoRegister is false, you must explicitly register the events by setting the Registered property to true (or calling RegisterEvents) after the database connection is opened.

Note: The database always unregisters the events when it closes a connection. By setting AutoRegister to true, you do not need to explicitly re-register interest in the events when the database reopens a connection.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!