Skip to main content

TcxPopupEdit Class

Represents a text editor that enables embedding another control in its popup window.

Declaration

TcxPopupEdit = class(
    TcxCustomPopupEdit
)

Remarks

The TcxPopupEdit class represents a control that allows editing textual data. The main feature of the popup editor is that it enables embedding another control in the associated popup window. To set the control to embed in the popup window, use the PopupControl property of the Properties object. At runtime, a user can work with the control placed on the popup window in the same way as he/she did with its standalone version.

TcxPopupEdit does not provide any new behavior. It simply publishes necessary properties and events inherited from base classes. The primary class that introduces the popup functionality is TcxCustomDropDownEdit.

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.

The next image demonstrates the TcxPopupEdit editor, which displays a TPanel control within its popup window. The panel contains three buttons and a memo component. The popup window is painted in the native style.

See Also