Back to Devexpress

TdxWizardControlHandleChildControlKeyEvent Type

vcl-dxcustomwizardcontrol-e5f626ed.md

latest1.4 KB
Original Source

TdxWizardControlHandleChildControlKeyEvent Type

The procedural type of a keystroke event that occurs in a focused child control on a wizard page.

Declaration

delphi
TdxWizardControlHandleChildControlKeyEvent = procedure(const Message: TCMChildKey; var AHandled: Boolean) of object;

Parameters

NameType
MessageTCMChildKey
AHandledBoolean

Remarks

The Message parameter provides access to a keystroke system message accepted by the focused child control on a wizard page. You can use the Message. Sender and Message. CharCode fields within a TdxWizardControlHandleChildControlEvent event handler to identify the focused child control that accepted a keystroke and the keystroke’s virtual key code, respectively.

Set the AHandled parameter to True to forbid a wizard control to process the Message keystroke message. Only the Message. Sender control handles the keystroke in this case.

A wizard control’s OnHandleChildControlKey event references the TdxWizardControlHandleChildControlEvent type.

See Also

dxCustomWizardControl Unit