Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example inserts a sheet.

C++

BOOL CTestSpread7DllDlg::OnInitDialog()

{

    CDialog::OnInitDialog();

    // Set sheet count

    spr->SetSheetCount(4);

}

void CTestSpread7DllDlg::OnButton1()

{

    // Insert one sheet in front of sheet 2

    spr->InsertSheets(2,1);

}

Copyright © GrapeCity, inc. All rights reserved.