You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thew doc says this: "Every control has disabled property which is false by default - control and all its children are enabled. " It turns out the ft.Tab() doesn't have a disabled property!
In fact to do something like disabling a tab requires jumping through some hoops to make it work. You actually have to create a container for the tab, and disables it.This is pretty bogus because the user can go to a tab that has been disabled. One can capture the on_selected property and force it to a particular value, but this too is bogus. What happens is the selected tab is displayed and then you force it to another tab.
It would be so much nicer if the Tab had the disabled property and just wouldn't allow the tab to be selected.
The text was updated successfully, but these errors were encountered:
Thew doc says this: "Every control has disabled property which is false by default - control and all its children are enabled. " It turns out the ft.Tab() doesn't have a disabled property!
In fact to do something like disabling a tab requires jumping through some hoops to make it work. You actually have to create a container for the tab, and disables it.This is pretty bogus because the user can go to a tab that has been disabled. One can capture the on_selected property and force it to a particular value, but this too is bogus. What happens is the selected tab is displayed and then you force it to another tab.
It would be so much nicer if the Tab had the disabled property and just wouldn't allow the tab to be selected.
The text was updated successfully, but these errors were encountered: