[Gambas-user] Restore of .conf during runtime

Steven Lobbezoo steven at ...1652...
Fri Sep 21 11:08:42 CEST 2007


hi,

i did this (sample)

    IF settings["Ccrit/" & Str(r)] THEN
      tmp = Split(settings["Ccrit/" & Str(r)], "|")
      GridView1.Rows.Count = GridView1.Rows.Count + 1
      GridView1[i, 2].Text = tmp[0]
      IF Len(tmp[0]) > w THEN w = Len(tmp[0])
      GridView1[i, 0].Text = tmp[1]
      GridView1[i, 1].Picture = Picture["Images/list-remove.png"]
      GridView1[i, 3].Text = Str(r)      
    END IF


regards,
Steven


Le vendredi 21 septembre 2007 08:53, Gaël Le Hec'H a écrit :
> hi,
> with this it should be more clear. what I want to do is restore all the
> settings without having to leave the application. If the settings file is
> modifed, I didn't found any mean to reload it. what I search is the exact
> counterpart of Settings.save().
>
> 2007/9/20, Benoit Minisini <gambas at ...1...>:
> > On mercredi 19 septembre 2007, Gaël Le Hec'H wrote:
> > > hi all,
> > > Is it possible to take into account the restore of myapp.conf during
> > > the execution of myapp.gambas ?
> >
> > What do you mean exactly? Reloading the default configuration file?
> >
> > --
> > Benoit Minisini
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list