SftTabs/DLL 6.0

AllowSwitch

Softel vdm, Inc.

Determines whether a currently active page can be left and a new page activated.

C++

protected:
    virtual BOOL CSftTabsWindowPage::AllowSwitch();

Returns

If TRUE is returned, the current page will be deactivated and another page will become active, otherwise the current page (and associated tab) cannot be changed.

Comments

The AllowSwitch function determines whether a currently active page can be left and a new page activated.

The default implementation of this member function returns TRUE.

An application can override this function to perform additional tests such as input validation, to determine if the page can be left.

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


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com