Jump to content

Control the change between tabsheets in a page control


nickosl50

Recommended Posts

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...