Am Montag, den 03.08.2009, 20:10 +0200 schrieb Benoît Minisini: > > Guys, I've been working with gb.settings on a couple of my apps in the > > past, but I have a question. > > > > Is there any way to sort of browse through the stored settings? I > > guess to see what settings are defined in the settings file? > > > > You can do the following in Gambas 3: > > ' Get all root keys > For Each sKey In MySettings.Keys > ... > Next > > Or > > ' Get all keys in the "[Configuration/Slot]" slot > For Each sKey In MySettings.Keys["Configuration/Slot"] > ... > Next
Salut, the attached archive is a backport from gambas3 gb.settings for gambas2. As there where no code-changes to make, it should do what it does in gambas3. For me it solved my \ problem. I think, the gambas2 code for QuoteString() in Main.class is wrong. -- Amicalment Charlie
gb.settings-bp-2.15.2.tar.gz
Description: application/compressed-tar
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user