Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example configures the control to beep and display a warning message if the user has made any changes.

C++

if(m_Spread.GetChangeMade( ))
    {
    MessageBeep(0);
    MessageBox(NULL,"Save before exiting", "Notice", MB_OK);
    }

Visual Basic

If fpSpread1.ChangeMade Then
    Beep
    MsgBox "Save before exiting", 48, "Notice"
End If

Copyright © GrapeCity, inc. All rights reserved.