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
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
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
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
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
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
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
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...
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
--