Link Search Menu Expand Document

SSpread.TypeTextPrefix Property

Set whether to use the “&” character as the underline in the label cell (underline the character immediately after the “&” ).

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

Specify $TRUE to use the “&” character as an underline, or $FALSE to display the “&” character as is. The initial value is $FALSE .

This property is subject to property inheritance for label cells .

Notes on property inheritance of label type cells.

Example of use

Col = 3;
Row = 2;
CellType = $ CellTypeStaticText;
TypeTextPrefix = $ TRUE;
Text = "& File";
 
BlockMode = $ TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $ CellTypeStaticText;
TypeTextPrefix = $ FALSE;
Text = "A & B & C";
BlockMode = $ FALSE;

Related item
CellType property