ReceiveFocus property

Applies to
TIB_IncSearch

Declaration
Property ReceiveFocus : boolean;

Description
This property is used in conjunction with the AnnounceFocus property of the DataSource component. It is a global focusing system that allows the SearchBar to link itself to wherever the user's focus goes. For example, in an MDI application the user could go from one child window to another. Each child window could have its own DataSource context. Thus, if each child window's DataSource component's AnnounceFocus property is set to true the SearchBar will receive the focus and align with it. You can also customize the action taken by supplying an OnReceiveFocus event handler.