Data.Bind.Components.RegisterObservableMemberOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.Bind.Components.pas
Data.Bind.Components.hpp
Data.Bind.Components Data.Bind.Components

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