bbm Posted November 27, 2021 Share Posted November 27, 2021 Hi, I have a PageControl with 2 TabSheets. Data can be edited in both tab sheets. If data have been changed, I would like to display a message that they must first be saved, or that switching to the other tab sheet is prevented. How can I prevent switching? Best regards Link to comment Share on other sites More sharing options...
Sherzod Posted November 27, 2021 Share Posted November 27, 2021 4 hours ago, bbm said: I have a PageControl with 2 TabSheets. Data can be edited in both tab sheets. If data have been changed, I would like to display a message that they must first be saved, or that switching to the other tab sheet is prevented. How can I prevent switching? Hello, This post may help you: Link to comment Share on other sites More sharing options...
Sherzod Posted November 27, 2021 Share Posted November 27, 2021 Or just use OnBeforeActivate event. \FMSoft\Framework\uniGUI\Demos\Desktop\PageControl - BeforeActivate Link to comment Share on other sites More sharing options...
bbm Posted November 29, 2021 Author Share Posted November 29, 2021 Hi Sherzod, thank you very much! Best regards Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now