[Gambas-user] How to return a event from an embedded sub form
Marty
mmcg29440 at ...3163...
Mon Aug 26 17:56:46 CEST 2013
Hello,
I need to return a button click from an embedded sub form. I managed to
get the sub form embedded in the main form using the code found in the
tips that run when Gambas loads.
The sub form has a button called OK. I want to capture the btnOK_Click
event and use it in the main form. I know I can use a global variable
that can be seen by both forms but, I'd like to use another method. I've
been trying Object.Attach as suggested by Benoit in an email I found on
the net. I've not been able to get that working.
Would you help me with the syntax of Object.Attach or suggest a better
approach? I am still learning Gambas syntax so please do not assume
anything when sending code examples.
Thanks,
Marty
More information about the User
mailing list