RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBEvents.SetAutoRegister Method

Sets the AutoRegister property.

Pascal
procedure SetAutoRegister(const Value: Boolean);
C++
__fastcall SetAutoRegister(const Boolean Value);

SetAutoRegister is the write implementation method for the AutoRegister property. 

Value is the new value for the AutoRegister property. 

When SetAutoRegister changes the AutoRegister property to true, it checks whether the database connection is already open. If so, it calls RegisterEvents to register the events. 

 

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