OnInitPopup Event

Applies to TestComplete 15.47, last modified on January 20, 2023

Occurs before a component displays a drop-down window.

Declaration

OnInitPopup(Sender) Parameters
Sender [in] Required Object

Applies To

The event applies to the following components:

TcxCalcEdit, TcxComboBox, TcxDateEdit, TcxMRUEdit

Description

The TcxCalcEdit, TcxDateEdit and TcxMRUEdit components use the drop-down window to let users specify the desired value. The OnInitPopup event occurs before the window is about to be opened. Write an OnInitPopup event handler to perform specific actions before the drop-down window becomes visible. You can use this event handler, for instance, to initialize the properties that affect the drop-down window's display.

Parameters

The event has the following parameter:

Sender

Contains a reference to the user form component that has raised the event.

Remarks

When the drop-down window is about to be displayed, events occur in the following order:

See Also

Handling Events in User Forms
OnCloseUp Event
OnPopup Event

Highlight search results