Re: [Gambas-user] How to return a event from an embedded sub form

2013-08-27 Thread Fabien Bodard
It's a bad programming use... and gambas was not drawn for that. The correct and more efficient way is the one i say.. The ide for exemple have no one public ctl. 2013/8/26 Tobias Boege tabo...@gmail.com On Mon, 26 Aug 2013, Fabien Bodard wrote: never use public control Why?

[Gambas-user] How to return a event from an embedded sub form

2013-08-26 Thread Marty
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

Re: [Gambas-user] How to return a event from an embedded sub form

2013-08-26 Thread Tobias Boege
On Mon, 26 Aug 2013, Marty wrote: 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

Re: [Gambas-user] How to return a event from an embedded sub form

2013-08-26 Thread Fabien Bodard
never use public control insteed in the embedded form add Public Function GetButton() as Button return btnOk end 2013/8/26 Tobias Boege tabo...@gmail.com On Mon, 26 Aug 2013, Marty wrote: Hello, I need to return a button click from an embedded sub form. I managed to get the sub

Re: [Gambas-user] How to return a event from an embedded sub form

2013-08-26 Thread Tobias Boege
On Mon, 26 Aug 2013, Fabien Bodard wrote: never use public control Why? -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis