Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

m_fModified

Defines the current data modification status.

C++

protected:
    BOOL CSftTabsDialog::m_fModified;

Comments

The m_fModified member defines the current data modification status.

m_fModified returns the current data modification status maintained for the tabbed dialog. This member should only be used by derived classes. Otherwise, the CSftTabsDialog::GetModified() function should be used instead.

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.