RAD Studio VCL Reference
TIBEvents.AutoRegister Property

Specifies the AutoRegister on which to perform event alerter tasks.

property AutoRegister: Boolean;
__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!