Link Search Menu Expand Document

SSpread.TypeButtonText Property

In the command button cell, set the text to be displayed on the command button.

Only valid for cells with $CellTypeButton (command button type) set in the CellType property. Before setting this property, use the Col and Row properties, and so on to specify what to do.

The initial value is a blank character string.

The text color can be set with the TypeButtonTextColor property.

This property is subject to property inheritance for command button cells.

Example of usage

Col = 3;
Row = 2;
CellType = $CellTypeButton;
TypeButtonText = "Button1";
TypeButtonTextColor = $DRED;
 
BlockMode = $TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $CellTypeButton;
TypeButtonText = "Button2";
TypeButtonTextColor = "#893A39";
BlockMode = $FALSE;

Related Items
CellType, TypeButtonTextColor properties