[Gambas-user] How to access labels etc from module?

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Mar 8 18:30:09 CET 2009


Hi!

Might be pretty novice question, but it didn't find answer...
What would be the best way to access labels etc. from module?
I'm converting vb6 project in to gambas.
And the code has lines like this in modules (also a lot more complicated);
MainForm.LblStatus.Caption = "OK"
But it doesn't work (Unknown symbol 'LblStatus' in class 'MainForm').
Is there easier way to access, than make sub for every control in form?
Thanks!


Jussi




More information about the User mailing list