Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

GetModified

Returns the current data modification flag for the tabbed dialog.

C++

virtual BOOL CSftTabsPage::GetModified() const;

Returns

The return value is TRUE if data has been modified, otherwise FALSE is returned.

Comments

The GetModified function returns the current data modification flag for the tabbed dialog.

The maintenance of the data modification flag is up to the application. When input data is altered, the tabbed dialog or page should use CSftTabsDialog::SetModified or CSftTabsPage::SetModified to mark data as modified. There is only one data modification flag for a tabbed dialog. When using CSftTabsPage::SetModified (a page), the tabbed dialog's modification flag is updated, so a subsequent CSftTabsPage::GetModified (by another page attached to the same tab control) will return the value of the tabbed dialog's modification flag.

An application could override the CSftTabsDialog::SetModified member function to visually notify the user that data has been modified. CSftTabsDialog::SetModified could be implemented to change the OK button's caption to "Save".

See Also C/C++ API | C++ Classes | Notifications


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.