Processes a dialog key. Overrides Control.processDialogKey(). This method implements handling of the TAB, LEFT, RIGHT, UP, and DOWN keys in dialogs. The method performs no processing on keys that include the ALT or CONTROL modifiers. For the TAB key, the method selects the next control on the form. For the arrow keys, !!!
[Visual Basic] Overrides Protected Function ProcessDialogKey( _ ByVal keyData As Keys _ ) As Boolean [C#] protected override bool ProcessDialogKey( Keys keyData ); [C++] protected: override bool ProcessDialogKey( Keys keyData ); [JScript] protected override function ProcessDialogKey( keyData : Keys ) : Boolean;
true to consume the key, false to allow further processing.
ContainerControl Class | ContainerControl Members | System.WinForms Namespace