Data.Bind.Components.RegisterObservableMemberOptions

From RAD Studio API Documentation

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.Bind.Components.pas
Data.Bind.Components.hpp
Unit: Data.Bind.Components
Parent: Data.Bind.Components

Delphi

procedure RegisterObservableMemberOptions(AClasses: TArray<TClass>; AOptions: TObservableMemberOptions);

C++

extern DELPHI_PACKAGE void __fastcall RegisterObservableMemberOptions(System::DynamicArray<System::TClass> AClasses, TObservableMemberOptions AOptions)/* overload */;

Description

Registers the options associated with a control that is enabled for observing.

moTrack is an observable member option that is related to the Track property. moTrack indicates that the default value for Track is True for a particular type of control (such as TListView or TCustomDateTimeEdit).

The Track option means that notifications are sent more frequently. Here is a run-time example using a TCheckBox that is bound to a field in a database table:

  • If Track is set for the checkbox, the change occurs immediately when you click the checkbox.
  • If Track is not set, the change does not occur until the checkbox control loses focus.

See Also