Spread 8.0 Documentation
TypeButtonPictureDown Property
Support Options
ActiveX Reference > ActiveX Properties > TypeButtonPictureDown Property

Glossary Item Box

TypeButtonPictureDown Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the picture displayed when a button is down. This property is available at run time only.

Syntax

C++

CPicture CSpreadSheet::GetTypeButtonPictureDown( );
void CSpreadSheet::SetTypeButtonPictureDown(LPDISPATCH value);

Visual Basic

[form.]fpSpread.TypeButtonPictureDown[ = picture]

Remarks

You can specify a bitmap or an icon as the picture to display.

Text, pictures, or both can appear within a button. If you use both, use the TypeButtonAlign property to specify positioning. Pictures do not overlap the shadow and highlight in the button drawn by the control.

To use the TypeButtonPictureDown 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.

The TypeButtonPictureDown property does not have an effect unless the CellType property is set to 7 (Button) for the specified cell or cells.

Use the TypeButtonPicture property to specify the picture to display when the button is up.

Spread Designer

Choose the Cell menu, the Cell Type menu, the Button menu, and then the Settings tab, and then select Picture Down from the drop-down list box and use the command buttons in the Picture group box in the Cell Type Settings dialog box.

Data Type

Picture

See Also

Displaying Pictures in a Button Cell

CellType, Col, Row, Sheet, TypeButtonAlign, TypeButtonPicture, TypeButtonShadowSize, TypeButtonText, TypeButtonType properties

DLL Correspondence

SSSetTypeButton function

Copyright © GrapeCity, inc. All rights reserved.