SSpread.TypeButtonDarkColorプロパティ

 

コマンドボタン型セルで、コマンドボタンの凹凸の右下側の色を設定します。

 

UseVisualStylesプロパティが$UseVisualStylesNo(ビジュアルスタイルを使用しない)の場合など、標準スタイルの場合のみ有効です。

 

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

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

 

色定数または#RRGGBB形式を指定します。

初期値はOSの設定値です。$STDを設定するとOSの設定値に戻ります。

 

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

 

 

コマンドボタンの色設定プロパティ

 

TypeButtonLightColor

 

 

 

 

 

TypeButtonTextColor

 

 

TypeButtonColor

 

 

 

 

 

TypeButtonDarkColor

 

TypeButtonShadowSize

 

 

使用例

UseVisualStyles = $UseVisualStylesNo;
Col = 2;
Row = 2;
CellType = $CellTypeButton;
TypeButtonText = "ボタン1";
TypeButtonColor = $DCYAN;
TypeButtonTextColor = $WHITE;
TypeButtonLightColor = "#DAEAD0";
TypeButtonDarkColor = "#005C50";
TypeButtonShadowSize = 4;
 
Col = 2;
Row = 4;
CellType = $CellTypeButton;
 
Col = 2;
Row = 6;
CellType = $CellTypeButton;
 
BlockMode = $TRUE;
Col = 4;
Row = 3;
Col2 = 4;
Row2 = 5;
CellType = $CellTypeButton;
BlockMode = $FALSE;

 

関連項目

AppearanceStyleCellTypeTypeButtonColorTypeButtonLightColorTypeButtonShadowSizeTypeButtonTextColorUseVisualStylesプロパティ

 



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