Hi,
I've struggled many hours around this seemigly simple requirement.
I have forms with many detail tabs that need to be displayed only when some rules apply to the current displayed record in the master form.
Ideally a visibleWhen on tabs in TabSet should do it.
I tried to add this rule to the tabs and actually all tabs with a rule are hidden no matter the value of the Criteria. I've seen that tabs are not Canvas objects and this makes things quite difficult to handle.
I've not come up with a solution to my problem. There is no API to hide/show tabs so, even if I code myself the visibility logic I have no way then to hide/show the tabs.
It seems currently possibile to enable/disable tabs. I may keep all the tabs and enable/disable them with a custom function but I find this solution limiting.
Does someone have an idea on how this requirement could be handled?
Thank you in advance.
I've struggled many hours around this seemigly simple requirement.
I have forms with many detail tabs that need to be displayed only when some rules apply to the current displayed record in the master form.
Ideally a visibleWhen on tabs in TabSet should do it.
I tried to add this rule to the tabs and actually all tabs with a rule are hidden no matter the value of the Criteria. I've seen that tabs are not Canvas objects and this makes things quite difficult to handle.
I've not come up with a solution to my problem. There is no API to hide/show tabs so, even if I code myself the visibility logic I have no way then to hide/show the tabs.
It seems currently possibile to enable/disable tabs. I may keep all the tabs and enable/disable them with a custom function but I find this solution limiting.
Does someone have an idea on how this requirement could be handled?
Thank you in advance.
Comment