SSpread.TypeButtonTextプロパティ

 

コマンドボタン型セルで、コマンドボタンに表示するテキストを設定します。

 

CellTypeプロパティに$CellTypeButton(コマンドボタン型)が設定されたセルのみ有効です。

このプロパティを設定する前に、ColRowプロパティなどを使用して処理の対象を指定します。

 

初期値は空白文字列です。

 

テキストの色はTypeButtonTextColorプロパティで設定できます。

 

このプロパティはコマンドボタン型セルのプロパティ継承の対象です。

 

 

使用例

Col = 3;
Row = 2;
CellType = $CellTypeButton;
TypeButtonText = "ボタン1";
TypeButtonTextColor = $DRED;
 
BlockMode = $TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $CellTypeButton;
TypeButtonText = "ボタン2";
TypeButtonTextColor = "#893A39";
BlockMode = $FALSE;

 

関連項目

CellTypeTypeButtonTextColorプロパティ

 



「オンラインマニュアル」一覧へ戻る
「Bizの宝箱」TOPへ戻る