TIB_SearchBar Object
Properties Methods Events

Unit
IB_SearchBar

Declaration
TIB_SearchBar = class(TCustomPanel)

Description
Button bar that gives easy access and control of the searching and counting capabilities of InterBase Objects datasets.

The search criteria handling can be customized such that it remains persistent between application instances. A list of different search criteria templates could be maintained as well.

It also provides a simple dialog or customizable way to change the ordering of the rows in a dataset.

Introduced Public Properties
CustomGlyphs  This provides a list of customized glyphs for the toolbar.
CustomGlyphsSupplied  Set this property to indicate which glyphs have been supplied in the CustomGlyphs property.
DataSource  Reference to the DataSource to perform actions upon.
Flat  Makes the buttons use the Flat button style.
FocusedButton  The currently selected button of the button set.
OnReceiveFocus  This event allows a custom action to be performed when a Focus event is received.
ReceiveFocus  This property is used in conjunction with the AnnounceFocus property of the DataSource component.
VisibleButtons  Set which buttons are visible to the user.

Introduced Public Methods
BtnClick   Method used to pass the click of a single button to the owning parent.
Create
Destroy
SetBounds

Introduced Public Events
AfterAction  Define custom behavior after the action of the button click is executed.
BeforeAction  Define custom behavior before the action of the button click is executed.
OnButtonsStateChanged  Define custom behavior after buttons state changed.
OnRecallCriteria  Event that enables a custom display of a dialog to save the current search criteria.
OnRowCount  Event that enables a custom display of the row count for the dataset.
OnRowOrder  Event that enables a custom dialog for changing the order of rows in the dataset.
OnSaveCriteria  Event that enables a custom display of a dialog to save the current search criteria.