IBX.IBEvents.TIBEvents.SetAutoRegister

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetAutoRegister(const Value: Boolean);

C++

void __fastcall SetAutoRegister(const bool Value);

Properties

Type Visibility Source Unit Parent
procedure
function
public
IBX.IBEvents.pas
IBX.IBEvents.hpp
IBX.IBEvents TIBEvents

Description

Sets the AutoRegister property.

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.