You are here: Symbol Reference > JSDialog Namespace > Classes > TJSTaskDialogForm Class > TJSTaskDialogForm Methods > TJSTaskDialogForm.KeyDown Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSTaskDialogForm.KeyDown Method

Overridden to process specific key sequence required by a TJSDialog or descendant.

Pascal
procedure KeyDown(var Key: Word; Shift: TShiftState); override;

The KeyDown event also handles the copying of the dialog contents to the clipboard when the Ctrl+C shortcut is pressed. 

The checking to see if using Alt+F4 to close the dialog is permitted is also done as well as making sure the accelerator keys are displayed for Command Link Buttons when necessary.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!