Global Focusing of Controls


All of the native data aware controls of IBO are coordinated with one another through the component session to which they belong. A network of global focusing events constantly keep track of what control has the current focus along with what statement, dataset, datasource, transaction and connection they are bound to. This enables controls like button bars to be configured to "listen" in on the global focusing notifications and keep connected to whatever dataset has the current focus. The same is true for transactions and connections.

This is configured by setting the AnnounceFocus and AllowFocus properties of the TIB_DataSource component and the ReceiveFocus property of the various controls that are able to be global focus aware. Examples of this are the various button bar controls like TIB_NavigatorBar and TIB_SearchBar.