Re: [Gambas-user] pass parameters to another form invoke where?

2013-08-12 Thread PICCORO McKAY Lenz
Thanka Tobias and Fabien, theres what i think about two solutions: 1) The proposed from tobias are not beatifull but easy to understand and good hack .. From: Tobias Boege > In FAuth you can write: > > Public Sub MyShowModal(theParameter As ...) > ' Do something with theParameter > Me.Show

Re: [Gambas-user] pass parameters to another form invoke where?

2013-08-09 Thread Fabien Bodard
Well Tobi I think you need to complete the idea. in fAuth : Private $iId as Integer Public Value as Integer Public sub Run(Id as integer) as boolean dim hForm as new hAuth $iId = Id return not hForm.ShowModal() End Public sub _Load() 'Get UserInfo from $iId and then txtUser.Text = resul

Re: [Gambas-user] pass parameters to another form invoke where?

2013-08-09 Thread Tobias Boege
On Fri, 09 Aug 2013, PICCORO McKAY Lenz wrote: > i need to invoke another from from main form, but need to pass one > parameter, how can i do that? > > i have tho following code in main form, where i cant pass parameters to the > "FAuth" form that invoke?: > > ' create a instance of the another f

[Gambas-user] pass parameters to another form invoke where?

2013-08-09 Thread PICCORO McKAY Lenz
i need to invoke another from from main form, but need to pass one parameter, how can i do that? i have tho following code in main form, where i cant pass parameters to the "FAuth" form that invoke?: ' create a instance of the another form, that have tow input text, id and password fauth = Ne