nickosl50 Posted October 5, 2017 Share Posted October 5, 2017 Hi, 1) I would like to ask if there is a specific event that blocks the user from changing tabsheets in a page control based when a certain condition occurs (programmatically block or allow the transition between pages). 2) Also how can I block the destroy of a frame when a certain condition occurs (programmatically block or allow the destroy). Thank you very much Nick Lazidis Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 5, 2017 Share Posted October 5, 2017 Hi, 1) I would like to ask if there is a specific event that blocks the user from changing tabsheets in a page control based when a certain condition occurs (programmatically block or allow the transition between pages). You can use UniTabSheet.Enabled property for this, or use OnBeforeActivate and OnBeforeFirstActivate events Look at this demo too: \FMSoft\Framework\uniGUI\Demos\Desktop\PageControl - BeforeActivate Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 5, 2017 Share Posted October 5, 2017 2) Also how can I block the destroy of a frame when a certain condition occurs (programmatically block or allow the destroy). ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.