[Gambas-devel] [Gambas-user] Refreshing a Filechooser control [Solved]
richard terry
rterry at ...627...
Fri Mar 19 02:50:06 CET 2010
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.reload()
This works perfectly, thanks Fabian.
Would it be possible to have this inserted in this control as a property?
Regards
richard
> 2010/3/18 richard terry <rterry at ...627...>:
> > On Thursday 18 March 2010 22:28:09 you wrote:
> >> me :)
> >>
> >> DIM o AS Object
> >> o = FileChooser1.Children[0]
> >> o.DirView.reload()
> >
> > Thanks for replying.
> >
> > didn't crash, but didn't refresh the file list.
> >
> > I'm writing a document archiver and I know the file was gone because I'd
> > moved it to another directory and I checked using file manager -
> > definately not in the directory but remained in the list infilechoose
> > after that code.
> >
> > Did you try it yourself?
> >
> > ??maybe I screwed up.
> >
> > Regards
> >
> > Richard
> >
> >> 2010/3/18 richard terry <rterry at ...627...>:
> >> > >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® Parallel Studio Eval
> >> > Try the new software tools for yourself. Speed compiling, find bugs
> >> > proactively, and fine-tune applications for parallel performance.
> >> > See why Intel Parallel Studio got high marks during beta.
> >> > http://p.sf.net/sfu/intel-sw-dev
> >> > _______________________________________________
> >> > Gambas-user mailing list
> >> > Gambas-user at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the Devel
mailing list