MESCIUS SPREAD for Windows Forms 17.0J
ScrollBarMode 列挙体

スクロールバーの表示方法を指定します。
構文
'Declaration
 
Public Enum ScrollBarMode 
   Inherits System.Enum
public enum ScrollBarMode : System.Enum 
メンバ
メンバ説明
Automatic内容が範囲を超えたときにスクロールバーが表示されることを指定します。
Fixedスクロールバーが常に表示されることを指定します。
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
textcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.EditorBaseFocusCursorPosition.MouseLocation;
textcell.GridLine = new GrapeCity.Win.Spread.InputMan.CellType.Line(GrapeCity.Win.Spread.InputMan.CellType.LineStyle.Dashed, Color.DarkGreen);
textcell.LineSpace = 2;
textcell.ScrollBarMode = GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.Automatic;
textcell.ScrollBars = ScrollBars.Both;
textcell.Multiline = true;
fpSpread1.Sheets[0].Cells[0, 0].CellType = textcell;
Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
textcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.EditorBaseFocusCursorPosition.MouseLocation
textcell.GridLine = New GrapeCity.Win.Spread.InputMan.CellType.Line(GrapeCity.Win.Spread.InputMan.CellType.LineStyle.Dashed, Color.DarkGreen)
textcell.LineSpace = 2
textcell.ScrollBarMode = GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.Automatic
textcell.ScrollBars = ScrollBars.Both
textcell.Multiline = True
fpSpread1.Sheets(0).Cells(0, 0).CellType = textcell
継承階層

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode

参照

GrapeCity.Win.Spread.InputMan.CellType 名前空間

 

 


© MESCIUS inc. All rights reserved.