MESCIUS SPREAD for Windows Forms 15.0J
RowTouchStrip コンストラクタ
使用例 

Spread。
RowTouchStripインスタンスを作成します。
構文
'宣言
 
Public Function New( _
   ByVal spread As FpSpread _
)
public RowTouchStrip( 
   FpSpread spread
)

パラメータ

spread
Spread。
使用例
次のサンプルコードは、タッチ用メニューバーを作成します。
private void fpSpread1_TouchStripOpening(object sender, FarPoint.Win.Spread.TouchStripOpeningEventArgs e)
       {
           if (e.Area == FarPoint.Win.Spread.TouchStripShowingArea.Row) {
           e.Cancel = true;
           FarPoint.Win.Spread.RowTouchStrip touchStrip = new FarPoint.Win.Spread.RowTouchStrip(this.fpSpread1);            
           touchStrip.Items["Cut"].Visible = false;
           touchStrip.Show(new Point(e.X - 20, e.Y - 35 - touchStrip.Height));
           }
       }
Private Sub fpSpread1_TouchStripOpening(sender As Object, e As FarPoint.Win.Spread.TouchStripOpeningEventArgs)
If (e.Area = FarPoint.Win.Spread.TouchStripShowingArea.Row) Then
e.Cancel = True
Dim touchStrip As New FarPoint.Win.Spread.RowTouchStrip(Me.fpSpread1)
touchStrip.Items("Cut").Visible = False
touchStrip.Show(New Point(e.X - 20, e.Y - 35 - touchStrip.Height))
End If
End Sub
参照

RowTouchStrip クラス
RowTouchStrip メンバ

 

 


© MESCIUS inc. All rights reserved.