Method ProcessColdKey
ProcessColdKey(KeyEvent)
This method can be overwritten by views that want to provide accelerator functionality (Alt-key for example), but without interefering with normal ProcessKey behavior.
public virtual bool ProcessColdKey(KeyEvent keyEvent)
Parameters
keyEvent
KeyEventContains the details about the key that produced the event.
Returns
Remarks
After keys are sent to the subviews on the current view, all the view are processed and the key is passed to the views to allow some of them to process the keystroke as a cold-key.
This functionality is used, for example, by default buttons to act on the enter key. Processing this as a hot-key would prevent non-default buttons from consuming the enter keypress when they have the focus.