Skip to content

Controls Tab, and the 'disabled' property #123

Open
@eprparadocs

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions