Spread Windows Forms 7.0 Product Documentation
DialogKey Event
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : DialogKey Event


Glossary Item Box

Occurs during message preprocessing of dialog keys.

Syntax

Visual Basic (Declaration) 
Public Event DialogKey As DialogKeyEventHandler
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim handler As DialogKeyEventHandler
 
AddHandler instance.DialogKey, handler
C# 
public event DialogKeyEventHandler DialogKey

Event Data

The event handler receives an argument of type DialogKeyEventArgs containing data related to this event. The following DialogKeyEventArgs properties provide information specific to this event.

PropertyDescription
Alt Gets whether the Alt key was pressed.
Control Gets whether the Ctrl key was pressed.
Handled Gets or sets whether the event was handled.
KeyCode Gets the key code for the key the user pressed.
KeyData Gets the key data for the key the user pressed.
Modifiers Gets which combination of Ctrl, Shift, and Alt keys is pressed.
Shift Gets whether the Shift key was pressed.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.