Spread Windows Forms 9.0 Product Documentation
Alt Property
Example 


Gets whether the Alt key was pressed.
Syntax
'Declaration
 
Public ReadOnly Property Alt As Boolean
'Usage
 
Dim instance As DialogKeyEventArgs
Dim value As Boolean
 
value = instance.Alt
public bool Alt {get;}
Example
This example gets whether the Alt key is pressed.
private void fpSpread1_DialogKey(object sender, FarPoint.Win.Spread.DialogKeyEventArgs e)
        {
            listBox1.Items.Add(e.Alt);
        }
Private Sub FpSpread1_DialogKey(sender As Object, e As FarPoint.Win.Spread.DialogKeyEventArgs) Handles FpSpread1.DialogKey
        ListBox1.Items.Add(e.Alt)
    End Sub
Requirements

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

See Also

Reference

DialogKeyEventArgs Class
DialogKeyEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.