Spread Windows Forms 12.0 Product Documentation
DialogChar Event

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : DialogChar Event
Occurs during message preprocessing of dialog characters.
Public Event DialogChar As DialogCharEventHandler
Dim instance As FpSpread
Dim handler As DialogCharEventHandler
AddHandler instance.DialogChar, handler
public event DialogCharEventHandler DialogChar
Event Data

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

Gets the character corresponding to the key the user pressed.  
Gets or sets whether the event was handled.  
This example uses the DialogChar event.
private void fpSpread1_DialogChar(object sender, FarPoint.Win.Spread.DialogCharEventArgs e)
            // Press Alt + a
Private Sub FpSpread1_DialogChar(sender As Object, e As FarPoint.Win.Spread.DialogCharEventArgs) Handles FpSpread1.DialogChar
        ' Press Alt + a
    End Sub
See Also