Thanks! Exactly what I needed! Jussi
On Sun, Mar 8, 2009 at 8:08 PM, Werner <wd...@netfront.net> wrote: > Jussi Lahtinen wrote: >> 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 >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > My Gambas is a bit rusty because I'm doing other things right now. > But you might want to try > Menu: Project-->Properties > Properties Dialog Tab: Options--> Form Controls are Public > set to Yes > > Regards > Werner > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user