04-13-2021 04:14 AM
Hello, I've written a program using register cards. On different pages any user can do different things.
For production issues we now need to distinguish which user is allowed to use which features. A very smart solution could be to lock some pages.
e.g.:
- Standard user: is allowed to use page 1 .. 5, but not 6 and 7
- Super user : is allowed to use all pages
Is there a possibility to do that way? I only found the method to lock the whole register card.
Regards.
Solved! Go to Solution.
04-13-2021 09:17 AM
Register cards? Do you mean a Tab Control?
I don't think you can enable or disable pages during runtime, or at least I haven't been able to find the right Property Node to do it.
But what I have done is hide the "Tabs" and use Radio Buttons to select the pages, then I can enable or disable the buttons as necessary.
04-13-2021 09:36 AM - edited 04-13-2021 09:53 AM
You can get the array of page references and hide the page you want or change the 'Page Enabled State'.