[Gambas-user] how to write text in indexed list of labels

Jussi Lahtinen jussi.lahtinen at gmail.com
Mon Sep 7 15:51:16 CEST 2020


That's weird... if you try it with simple form and a label, this prints:
Print Object.Type(Me["Label1"])
Label

But when you try to use it, it's control... I don't think there should be a
cast to other types.
Benoit?


Jussi



On Mon, Sep 7, 2020 at 4:27 PM Gianluigi <bagonergi at gmail.com> wrote:

>
>
> Il giorno lun 7 set 2020 alle ore 14:45 Jussi Lahtinen <
> jussi.lahtinen at gmail.com> ha scritto:
>
>> No, I meant:
>> Me["Label" & $iIndex].Text = "Pippo"
>>
>
> mmmh, have you tried it, does it work?
> I get: Unknown symbol Text in class Control
>
> Regards
> Gianluigi
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20200907/a309d565/attachment.htm>


More information about the User mailing list