Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example gets the active sheet.

C++

short s;

char buf[10];

char str[30];

s = spr->GetActiveSheet();

itoa(s, (LPSTR)buf, 10);

strcpy(str, "The active sheet is ") ;

strcat(str, buf);

AfxMessageBox(str);

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