TIB_CustomEdit Object
Properties Methods Events

Unit
IB_Controls

Declaration
TIB_CustomEdit = class(TCustomMaskEdit)

Description
This control gives a very generic data/search criteria entry field.

It is aware of the dataset state and either displays data or search criteria depending if it is in dssSearch state or not.

Introduced Public Properties
AlwaysShowButton  This property determines whether the control's button will show when the control is not focused.
ButtonStyle  This property allows a button to be displayed in the edit control.
DataField  Name of the column to which this control is bound.
DataSource  Reference to the dataset to which this control is bound.
Field  Reference to the column to which this control is bound.
IgnoreColorScheme  This property causes the control to ignore the coloring scheme and allow its color to be maintained manually by the application developer.
ImageIndex  The Index to the Image in the Imagelist for the ButtonGlyph, see also ImageIndexDisabled, ImageIndexPressed
ImageIndexDisabled  A optional Index to the Image in the Imagelist for the ButtonGlyph when the Field is disabled, see also ImageIndex, ImageIndexPressed
ImageIndexPressed  A optional Index to the Image in the Imagelist for the ButtonGlyph when the Button is pressed, see also ImageIndex, ImageIndexDisabled
ImageList  This property can contain the IconList for the Ellipses-Button
Use the ImageIndexes to set, which Icon has to be taken.
OnPrepareSQL  This event allows for custom alterations to be made to the SELECT statement's WHERE clause at prepare time.
PasswordChar 
PreventDeleting  Determines if the control can initiate the deletion of records.
PreventEditing  Determines if any editing changes can be made through this control.
PreventInserting  Determines if any inserting changes can be made through this control.
PreventSearching  Determines if any search criteria changes can be made through this control.
ReadOnly  Determins if any modifications can be entered through this control.
SearchAlways  This property can make the control act as though it were always in search mode.
SearchBuffer  Reference to the SearchBuffer for this data bound control.
SearchWithMask  This property makes it so that IBO will continue to enforce the Editmask setting for the colum even when in search mode.

Introduced Public Methods
CanModify
Create
Destroy

Introduced Public Events
OnButtonClick  This event will fire when the user presses the button in the edit control, or when the user presses CTRL+ENTER and the ButtonStyle property is set to show a button.
OnButtonDraw  This event will fire when the Button has to be drawn.