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

Gianluigi bagonergi at gmail.com
Mon Sep 7 09:36:58 CEST 2020

Il giorno lun 7 set 2020 alle ore 01:20 Jussi Lahtinen <
jussi.lahtinen at gmail.com> ha scritto:

> IF that is all you are going to do, then no reason to declare the obj.

Hi Jussi,

do you mean to suggest to write the code like this?

Public Sub Button1_Click()

  Dim hLabel As Label = Me["Label" & $iIndex]

  hLabel.Text = "Pippo"


But that's not the same thing? We are always talking about an object.

I feel it, I'll end up at the stake :-(

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

More information about the User mailing list