« Last early bird ticke… | Home | Plugin wishes for mac… »

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. The biggest plugin in space...
09 06 18 - 14:38