PowerTools SPREAD for Windows Forms 10.0J
Control プロパティ


[Ctrl]キーが押されたかどうかを取得します。
構文
'Declaration
 
Public ReadOnly Property Control As Boolean
'使用法
 
Dim instance As DialogKeyEventArgs
Dim value As Boolean
 
value = instance.Control
public bool Control {get;}
次のサンプルコードは、Controlプロパティを取得します。
private void fpSpread1_DialogKey(object sender, FarPoint.Win.Spread.DialogKeyEventArgs e)
        {
            listBox1.Items.Add(e.Control);
        }
Private Sub FpSpread1_DialogKey(sender As Object, e As FarPoint.Win.Spread.DialogKeyEventArgs) Handles FpSpread1.DialogKey
        ListBox1.Items.Add(e.Control)
    End Sub
参照

DialogKeyEventArgs クラス
DialogKeyEventArgs メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.