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

Willy Raets willy at ...2734...
Sun Aug 31 17:55:45 CEST 2014


On zo, 2014-08-31 at 17:28 +0200, Tobias Boege wrote:
> 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.

Yes they are, I could have know this :)

Thanks,
> 
> Regards,
> Tobi
> 

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org








More information about the User mailing list