[Gambas-user] How do I directly access the child controls in a panel container.
Martin McGlensey
mmcg29440 at ...3163...
Sat Jan 10 17:00:56 CET 2015
Hello,
One can address a control on another form with fMain.txtHello.Text. This
syntax also works for other container objects. I have a form with a panel
control. There are several controls within the panel. To avoid naming
conflicts I want to keep the panel controls separate from the parent form.
Something like panel.txtEdit.Text would be great but, it does not work. I
can get the "children" collection of the panel and get the control names.
That does not help. I need to get to the control and use its properties and
events. Is there a way to do this?
Thanks
More information about the User
mailing list