IBX 1.2 introduces a new Component Palette entry "Firebird Data Controls". This has three new data aware controls dependent on IBX and which make use of the SQL Parser also introduced in IBX 1.2.
These are:
•TIBLookupComboEditBox
•TIBDynamicGrid
•TIBTreeview
TIBLookupComboEditBox is a TDBLookupComboBox descendent that implements "autocomplete" of typed in text and "autoinsert" of new entries. Autocomplete uses SQL manipulation to revise the available list and restrict it to items that are prefixed by the typed text (either case sensitive or case insenstive). Autoinsert allows a newly typed entry to be added to the list dataset and included in the available list items.
TIBDynamicGrid is a TDBGrid descendent that provides for:
•automatic resizing of selected columns to fill the available row length
•automatic positioning and sizing of a "totals" control, typically at the column footer, on a per column basis.
•DataSet resorting on header row click, sorting the dataset by the selected column. A second click on the same header cell reversed the sort order.
•Support for a "Panel Editor". That is on clicking the indicator column, the row is automatically expanded and a panel superimposed on it. The panel can have any number of child controls, typically data aware controls with the same datasource as the grid allowing for editing of additional fields and more complex editors.
•Reselection of the same row following resorting.
•A new cell editor that provides the same functionality as TIBLookupComboEditBox. Its properties are specified on a per column basis and allows for one or more columns to have their values selected from a list provided by a dataset. Autocomplete and autoinsert are also available. The existing picklist editor is unaffected by the extension.
TIBTreeView is a data aware TCustomTreeView.
Examples are provided to illustrate the use of the new controls.