Project::IsModified

Contents

Description

Test if the active project has been modified since the last saving or loading.

Syntax

BOOL IsModified( )

Parameters

Return

TRUE if the active project has been modified else FALSE.

Examples

EX1

// For this example to run, create a project, save it, and then modify it
// (for example by modifying the value in a worksheet cell).
void    run_Project_IsModified()
{
    if (Project.IsModified())
        out_str("Project has been modified");
    else
        out_str("Project has NOT been modified");
    
    // Now save the project:
    Project.Save();
    
    // Now it must be NOT modifed because we saved it above.
    if (Project.IsModified())
        out_str("Project has been modified");
    else
        out_str("Project has NOT been modified");
}

Remark

See Also

Project::ClearModified

header to Include

origin.h