Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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