Spread 8.0 Documentation
SSGetButtonText, SSSetButtonText Functions
Support Options
DLL Reference > DLL Functions > SSGetButtonText, SSSetButtonText Functions

Glossary Item Box

SSGetButtonText, SSSetButtonText Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return the text in a button cell.

Syntax

C

int SSGetButtonText(HWND hWnd, SS_COORD Col, SS_COORD Row, LPTSTR lpText);

BOOL SSSetButtonText(HWND hWnd, SS_COORD Col, SS_COORD Row, LPCTSTR lpText);

C++

int TSpread::GetButtonText(SS_COORD Col, SS_COORD Row, LPTSTR lpText);

BOOL TSpread::SetButtonText(SS_COORD Col, SS_COORD Row, LPCTSTR lpText);

Parameters

These functions have the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
Col Column number of cell
Row Row number of cell
lpText Button text

Remarks

This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

SSSetSheet function

ActiveX Correspondence

TypeButtonText property

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.