Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

SetModified

Sets the current data modification flag for the tabbed dialog.

C++

virtual void CSftTabsDialog::SetModified(BOOL fModified = TRUE);

Parameters

fModified

The new value to be saved as the data modification flag. TRUE if data has been modified, FALSE otherwise.

Comments

The SetModified function sets 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.