« Tips for FileMaker Da… | Home | Configure Toolbar Men… »

Disable tab panel item in Xojo

Did you know you can disable a tab panel item?

You can simply use code like this on MacOS:

dim n as NSTabViewMBS = TabPanel1.NSTabViewMBS
dim it as NSTabViewItemMBS = n.tabViewItemAtIndex(2)
it.Enabled = me.Value

You can use NSTabViewItemMBS and NSTabViewMBS classes to access the enabled property there and turn item on/off when appropriated.
09 06 18 - 14:38

Start Chat