Link Search Menu Expand Document

SSpread.TypeButtonPicture Property

In the command button cell, set the color of the lower right side of the bump of the command button.

Only valid for standard styles, such as when the UseVisualStyles property is $UseVisualStylesNo (do not use visual styles).

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.

Specify a color constant or #RRGGBB format. The initial value is the OS setting value. Setting $STD will return to the OS settings.

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

Command button color setting properties

login image

Example of usage

Col = 3;
Row = 2;
CellType = $CellTypeButton;
TypeButtonPicture = "img/sample1.png"; /* Will be cached */
 
BlockMode = $TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $CellTypeButton;
TypeButtonPicture = getHttpSession().Get("img/sample2.png"); /* Not cached */
BlockMode = $FALSE;

Related Items
CellType, TypeButtonPictureDown properties
HttpResponse class