Re: [Gambas-user] Reading settings

2009-08-08 Thread M0E Lnx
Ok. Gambas is open source after all, so if it's all gambas code, and you posted the thing here I got no problem with it. Thanks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simpli

Re: [Gambas-user] Reading settings

2009-08-08 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 16:38 -0500 schrieb M0E Lnx: > Speaking of legal stuff. > > My project is released under the gpl v3. > Can the guy who wrote this add licensing so I can use it please? > Salut, the problem is, I can't add a license. 1. I did nothing on that code, only compiling gb.se

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
Speaking of legal stuff. My project is released under the gpl v3. Can the guy who wrote this add licensing so I can use it please? On Aug 7, 2009 4:11 PM, "Benoît Minisini" wrote: > Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Benoît Minisini: > > > Am Freitag, den 07.08.2009,... With your o

Re: [Gambas-user] Reading settings

2009-08-07 Thread Benoît Minisini
> Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Benoît Minisini: > > > Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Benoît Minisini: > > > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > > > I wonder if this can make it into the main gambas2 build on some > > > > > > futur

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Benoît Minisini: > > Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Benoît Minisini: > > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > > I wonder if this can make it into the main gambas2 build on some > > > > > future version.

Re: [Gambas-user] Reading settings

2009-08-07 Thread Benoît Minisini
> Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Benoît Minisini: > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > I wonder if this can make it into the main gambas2 build on some > > > > future version. Would be great > > > > > > Salut, > > > > > > it works in THAT case, bec

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Benoît Minisini: > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > I wonder if this can make it into the main gambas2 build on some > > > future version. Would be great > > > > Salut, > > > > it works in THAT case, because no new OBJE

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
It works if I import it's Main.module also so this is what I did 1) Disable the gb.settings from project -> components 2) import Settings.class and _SettingsKeys from gb.settings-bp 3) import Main.module from gb.settings-bp My app works now as it should --

Re: [Gambas-user] Reading settings

2009-08-07 Thread Benoît Minisini
> So if I grab the Settings class from this project and import it into > my project, then I dont need to use the native gb.settings class > > Will that suffice? > what do I do with the Main module and the _Settings class? > Which _Settings class? You have two classes: Settings, and _SettingsKey.

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
So if I grab the Settings class from this project and import it into my project, then I dont need to use the native gb.settings class Will that suffice? what do I do with the Main module and the _Settings class? -- Let Cr

Re: [Gambas-user] Reading settings

2009-08-07 Thread Benoît Minisini
> Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > I wonder if this can make it into the main gambas2 build on some > > future version. Would be great > > Salut, > > it works in THAT case, because no new OBJECTS which do not exist in > gambas2 are used. > > Like Cars, they exists now si

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > I wonder if this can make it into the main gambas2 build on some > future version. Would be great > Salut, it works in THAT case, because no new OBJECTS which do not exist in gambas2 are used. Like Cars, they exists now since more then

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
I wonder if this can make it into the main gambas2 build on some future version. Would be great -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integratio

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 13:26 -0500 schrieb M0E Lnx: > Before I install it to the user component directory, do I need to > clear the string in Main.Main? > or does that not matter if I leave the srings in there? > Also, when using in my app, do I need both the gb.settings and the > gb.settings-

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
Before I install it to the user component directory, do I need to clear the string in Main.Main? or does that not matter if I leave the srings in there? Also, when using in my app, do I need both the gb.settings and the gb.settings-bp or just the gb.settings-bp? ---

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
Never mind, I figured it out It looks like what I need -- 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

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
I tried to follow your instructions. When loading the project, te gambas IDE complained about gb.settings missing, so I clicked the OK button. went to Main.Main() sub and changed the path to an existing settings file, and the strings to something else following your format. when I debug it, it ter

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 12:24 -0500 schrieb M0E Lnx: > How do i bring this over to my gambas2 installation? > Salut, this is a gambas2 project to create a component. So after unpacking : - open the IDE - open the project "gb.settings-bp" - for testing change the Strings in Main.module/PUBLI

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
How do i bring this over to my gambas2 installation? -- 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 d

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 09:34 -0500 schrieb M0E Lnx: > Is this supposed to give the gb.settings the functionality of gb3 get > keys thing? Yes because it is the gb.settings from gb3, look in Main Charlie. -- Let Cry

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
Is this supposed to give the gb.settings the functionality of gb3 get keys thing? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployme

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
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 set

Re: [Gambas-user] Reading settings

2009-08-03 Thread M0E Lnx
Ok... I guess I'll have to find a way around it. I'm not ready to switch to gambas3 yet. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and

Re: [Gambas-user] Reading settings

2009-08-03 Thread Jean-Yves F. Barbier
M0E Lnx a écrit : > Yeah.. that's what I mean. > But I'd like to take a peek at the settings and see what all is in > there from gambas > > Let's say my settings file has something like > [FMAIN] > Width=300 > Height=200 > X=0 > > [Form1] > Width=400 > Height=200 > X=10 > > How can I check for s

Re: [Gambas-user] Reading settings

2009-08-03 Thread Benoît Minisini
> How about in gambas2? > the Settings class doesn't have a keys property > Yes, you can't do that in Gambas 2. You must find a way where you don't have to know the settings file contents. -- Benoît -- Let Crystal Repo

Re: [Gambas-user] Reading settings

2009-08-03 Thread M0E Lnx
How about in gambas2? the Settings class doesn't have a keys property -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and foc

Re: [Gambas-user] Reading settings

2009-08-03 Thread M0E Lnx
Yeah.. that's what I mean. But I'd like to take a peek at the settings and see what all is in there from gambas Let's say my settings file has something like [FMAIN] Width=300 Height=200 X=0 [Form1] Width=400 Height=200 X=10 How can I check for something lie "[FMAIN]" or "[Form1]" ? and see if i

Re: [Gambas-user] Reading settings

2009-08-03 Thread 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 key

Re: [Gambas-user] Reading settings

2009-08-03 Thread Jean-Yves F. Barbier
M0E Lnx a écrit : > I should have said something native to gambas > without having to cat the thing using a shell process. > > I mean, I'll do it if it's the only way, but I'd rather do it in > gambas if at all possible. you can use it like a configuration file and read/write it I guess -- Anyo

Re: [Gambas-user] Reading settings

2009-08-03 Thread M0E Lnx
I should have said something native to gambas without having to cat the thing using a shell process. I mean, I'll do it if it's the only way, but I'd rather do it in gambas if at all possible. -- Let Crystal Reports handl

Re: [Gambas-user] Reading settings

2009-08-03 Thread Jean-Yves F. Barbier
M0E Lnx a écrit : > 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? cat mywonderfulprojectilovesomuch/.project

[Gambas-user] Reading settings

2009-08-03 Thread M0E Lnx
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? --