[Gambas-user] Question about TabStrip (or TabPanel)

Matti matti.eber at ...3240...
Mon Sep 28 19:39:05 CEST 2015


I really missed something.
Thanks, Tobi!

Am 28.09.2015 um 19:34 schrieb Tobias Boege:
> On Mon, 28 Sep 2015, Matti wrote:
>> Every Tab of TabStrip has an own "Text" property.
>> Wouldn't it be useful to have a "Tag" property, too, for each Tab, instead of just one "Tag" for the whole control?
>> My first attempts with TabStrip always end in needing to assign something like 'URL' or 'bDirty' to the specific Tab, and "Tag" would be nice there.
>> Or am I missing something?
> I don't think you missed something. The Tag property comes all the way from
> the Control class which is not aware of specific features of TabStrip.
>
> But since Tag is a Variant, it can hold anything. Specifically you can put
> a Variant array or Collection into the single Tag property of the TabStrip
> and use that to index multiple tags. Was that clear enough?
>
> Regars,
> Tobi
>





More information about the User mailing list