TcxDBPopupEdit Class
Represents a data-aware text editor with a popup window embedding a control.
Declaration
TcxDBPopupEdit = class(
TcxCustomPopupEdit
)
Remarks
The TcxDBPopupEdit control allows editing text fields in a dataset. The TcxDBPopupEdit editor has a popup window, which can embed another control in it. The following image demonstrates a popup editor displaying the TPanel control within its popup window. The panel contains three buttons and a memo component. The popup window is painted in the native style.
The DataBinding object determines a dataset connection. Set the DataSource and DataField properties of the DataBinding object to make a data-aware control represent values from a dataset field.
To embed your control into the popup window use the PopupControl property of the Properties object. At runtime, a user can work with the control placed onto the popup window in the same manner as with its standalone version.
To open or close the popup window you can use the DroppedDown property. Set it to True to activate the popup window. At runtime, a user can activate the popup by clicking the dropdown button or by pressing the Up Arrow and Down Arrow keys combined with the Alt key or by pressing the F4 key.
Use the Style, StyleDisabled, StyleFocused and StyleHot properties to control the look & feel of a memo editor. Working with styles is discussed in the TcxCustomEditStyle class topic.