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] [Gambas-devel] Refreshing a Filechooser control [Solved][Better]

2010-03-18 Thread richard terry
On Friday 19 March 2010 13:19:22 richard terry wrote: > On Friday 19 March 2010 13:16:38 you wrote: > > > On Friday 19 March 2010 04:30:39 Fabien Bodard wrote: > > > > try that ... > > > > o.FileView.reload() > > > > > > > Dim o As Object > > > o = FileChooser1.Children[0] > > > o.FileView.r

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] Cannot reduce windows size to modal windows

2010-03-18 Thread Benoît Minisini
> 2010/3/18 : > > Hello list :) > > I don't know if this is a bug, a feature or a misconception, but I can't > > resize a window in modal mode to a lesser size. I display it with > > ShowModal and the window appears centered with the size as it is in the > > form design view into Gambas IDE. All i

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

Re: [Gambas-user] Refreshing a Filechooser control

2010-03-18 Thread Fabien Bodard
me :) DIM o AS Object o = FileChooser1.Children[0] o.DirView.reload() 2010/3/18 richard terry : > >From its properites it looks like Filechooser1.Reload may refresh the file > list, but it dosn't seem to work. > > Has anyone who has used this control got to refresh it programatically? > > T

[Gambas-user] Refreshing a Filechooser control

2010-03-18 Thread richard terry
>From its properites it looks like Filechooser1.Reload may refresh the file list, but it dosn't seem to work. Has anyone who has used this control got to refresh it programatically? Thanks. Richard -- Download Intel® P

Re: [Gambas-user] Cannot reduce windows size to modal windows

2010-03-18 Thread Fabien Bodard
2010/3/18 : > Hello list :) > I don't know if this is a bug, a feature or a misconception, but I can't > resize a window in modal mode to a lesser size. I display it with ShowModal > and the window appears centered with the size as it is in the form design > view into Gambas IDE. All is correct at