TypeButtonShadowSize Property
See Also DLL Example 1 Example 2
Applies To
fpSpread control
Description
Sets or returns the size of the shadow and highlight of a button cell. This property is available at run time only.
Syntax
short CSpreadSheet::GetTypeButtonShadowSize( );
void CSpreadSheet::SetTypeButtonShadowSize(short value);
[form.]fpSpread.TypeButtonShadowSize[ = value%]
Remarks
Specify the size in pixels. The default value for the TypeButtonShadowSize property is 1.
To use the TypeButtonShadowSize property, specify the sheet with which you want to work by setting the Sheet property. Then specify the cell or cells to which to apply the property, as described in Using Column and Row Properties. Once you set the TypeButtonShadowSize property for a cell or cells, any subsequent button cells you create will use the same TypeButtonShadowSize setting unless you reset it for those cells.
The TypeButtonShadowSize property does not have an effect unless the CellType property is set to 7 (Button) for the specified cell or cells.
Spread Designer
Choose the Cell menu, the Cell Type menu, the Button menu, and then the Settings tab, and then choose or type a number in the Shadow spin box in the Cell Type Settings dialog box.
Data Type
Integer
See Also
Customizing the Three-Dimensional Appearance of Button Cells
CellType, Col, Row, Sheet, TypeButtonAlign, TypeButtonDarkColor, TypeButtonLightColor, TypeButtonType properties
DLL Correspondence
SSSetTypeButton function