[Gambas-user] How to disable a select number of Tabs in a TabStrip?

Tobias Boege taboege at ...626...
Sun Aug 31 17:28:03 CEST 2014


On Sun, 31 Aug 2014, Willy Raets wrote:
> Hi all,
> 
> With TabStrip1.Enabled = True all tabs are disabled and that makes
> sense.
> I on the other hand, would like to disable only a few select tabs on a
> TabStrip. I've tried several options, had a look at the wiki on TabStrip
> and searched the mailing list, but nothing came up.
> 
> So what is the proper method of achieving this?
> 

TabStrip[iIndex].Enabled = False.

The array accessors are often overlooked in the docs.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list