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

Jussi Lahtinen jussi.lahtinen at gmail.com
Mon Sep 7 21:44:45 CEST 2020


> I don't understand your point. That is exactly what I expect to see.
> TypeOf returns "object" for every possible instance of every possible class.
> So, instance of Label is object and TypeOf will return so as expected.
>
> The problem is that Me["Label1"] does not return an object, which is an
> instance of class label, but instance of class control.
> That is unexpected. Looks like a bug to me.
>

Or perhaps, the bug is in the Object.Type(), which returns "Label" instead
of "Control".


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20200907/ae6629e9/attachment.htm>


More information about the User mailing list