Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

SetClose

Signals that data has been changed permanently and the tabbed dialog can no longer be Cancel'ed.

C++

virtual void CSftTabsPage::SetClose(BOOL fClose = TRUE);

Parameters

fClose

Set to TRUE to allow the tabbed dialog to close, FALSE otherwise. The value is used in the application's SetClose function, which must be implemented in the derived class.

Comments

The SetClose function signals that data has been changed permanently and the tabbed dialog can no longer be Cancel'ed.

When input data is altered permanently, the tabbed dialog or page should use CSftTabsDialog::SetClose or CSftTabsPage::SetClose. An application could override the CSftTabsDialog::SetClose member function to visually notify the user that data has been permanently altered. SetClose could be implemented to change the Cancel button's caption to "Close". There is no default implementation for the SetClose function. It is up to the application to implement SetClose in a derived class.

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


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