Re: [Gambas-user] calling back to the caller

2010-03-18 Thread Doriano Blengino
Charlie Reinl ha scritto: > >>> my project (from now on called 'the program') >>> use a in gambas2 written component (from now on called 'the >>> component' [which is by it's own, also a executable]). >>> 'the component' is embedded on a form of 'the program'. >>> So the "parent" is known. >>> Wha

Re: [Gambas-user] calling back to the caller

2010-03-18 Thread Charlie Reinl
Am Donnerstag, den 18.03.2010, 21:16 +0100 schrieb Fabien Bodard: > simplis use a public function > in the parent form > > Public sub MyFunction > end > > Then in your component > > Dim o as object > > o = me.parent > > o.MyFunction > > > 2010/3/18 Charlie Reinl : > > Am Donnerstag, den 18.0

Re: [Gambas-user] calling back to the caller

2010-03-18 Thread Charlie Reinl
Am Donnerstag, den 18.03.2010, 21:16 +0100 schrieb Fabien Bodard: > simplis use a public function > in the parent form > > Public sub MyFunction > end > > Then in your component > > Dim o as object > > o = me.parent > > o.MyFunction > > Salut Fabien, oh, yeah, while I tried to use "me.paren

Re: [Gambas-user] calling back to the caller

2010-03-18 Thread Fabien Bodard
simplis use a public function in the parent form Public sub MyFunction end Then in your component Dim o as object o = me.parent o.MyFunction 2010/3/18 Charlie Reinl : > Am Donnerstag, den 18.03.2010, 20:12 +0100 schrieb Doriano Blengino: >> Charlie Reinl ha scritto: >> >> >Salut, >> > >> >is

Re: [Gambas-user] calling back to the caller

2010-03-18 Thread Charlie Reinl
Am Donnerstag, den 18.03.2010, 20:12 +0100 schrieb Doriano Blengino: > Charlie Reinl ha scritto: > > >Salut, > > > >is it possible to run from a (gambas2) component, a Sub/Function of the > >component using the 'parent' program? > > > >Something parent.NewsFromMyComponent(TRUE) like I would do wit

Re: [Gambas-user] calling back to the caller

2010-03-18 Thread EA7DFH
Charlie Reinl escribió: > Salut, > > is it possible to run from a (gambas2) component, a Sub/Function of the > component using the 'parent' program? > > Something parent.NewsFromMyComponent(TRUE) like I would do with public > elements on a form: MyForm.NewsFromTheSecondForm(Me.Width) Do you mea

Re: [Gambas-user] calling back to the caller

2010-03-18 Thread Fabien Bodard
yes be more explicit please 2010/3/18 Doriano Blengino : > Charlie Reinl ha scritto: > >>Salut, >> >>is it possible to run from a (gambas2) component, a Sub/Function of the >>component using the 'parent' program? >> >>Something parent.NewsFromMyComponent(TRUE) like I would do with public >>element

Re: [Gambas-user] calling back to the caller

2010-03-18 Thread Doriano Blengino
Charlie Reinl ha scritto: >Salut, > >is it possible to run from a (gambas2) component, a Sub/Function of the >component using the 'parent' program? > >Something parent.NewsFromMyComponent(TRUE) like I would do with public >elements on a form: MyForm.NewsFromTheSecondForm(Me.Width) > > > > Mmm...

[Gambas-user] calling back to the caller

2010-03-18 Thread Charlie Reinl
Salut, is it possible to run from a (gambas2) component, a Sub/Function of the component using the 'parent' program? Something parent.NewsFromMyComponent(TRUE) like I would do with public elements on a form: MyForm.NewsFromTheSecondForm(Me.Width) -- Amicalement Charlie --