System.Classes.TObservers
Delphi
TObservers = class
C++
class PASCALIMPLEMENTATION TObservers : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
TObservers implements an observer pattern that is used in order to get notifications on certain UI (user interface) changes of controls such as an edit box or a label, while using LiveBindings.
TObservers are added to the TComponent level in order for the developers to extend their own components or other components to use these observers notifications so that they can either use it with LiveBindings or get notifications for their own purposes.
A tutorial on using the observers in order to enable a control for LiveBindings can be found here: Tutorial: Creating LiveBindings-Enabled Components.