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

abbat81 abbat.81 at ...787...
Tue Apr 9 17:35:18 CEST 2013


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.




More information about the User mailing list