[Gambas-user] gb.settings. Saves my settings only when my form closing

Jussi Lahtinen jussi.lahtinen at ...626...
Tue Apr 9 17:55:45 CEST 2013


hs.Save()

http://gambasdoc.org/help/comp/gb.settings/settings?v3

Jussi


On Tue, Apr 9, 2013 at 6:35 PM, abbat81 <abbat.81 at ...787...> wrote:

>
> Public Sub SaveButton_Click()
>  hs["Something/item1"] = Textbox1.Text
> End
>
>
> It does not save my settings.
> But after my form is closed it takes change.
>
> Is there something I don't understand correctly?
>
> I need my setting to take change immediately, because I also have one more
> button on the same form, which have poweroff/reboot functions.
>
> So, SaveButton, then poweroff button gives me an empty setting file at
> result.
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/gb-settings-Saves-my-settings-only-when-my-form-closing-tp41680.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> 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