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);

}

Copyright © GrapeCity, inc. All rights reserved.