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 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 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). ? 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