Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example moves a sheet.

C++

BOOL CTestSpread7DllDlg::OnInitDialog()

{

    CDialog::OnInitDialog();

    // Set sheet count

    spr->SetSheetCount(4);

}

void CTestSpread7DllDlg::OnButton1()

{

    // Move the sheet

    spr->MoveSheets(2,1,3);

}

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