[Gambas-user] Problem with gb.settings

gambas at ...1938... gambas at ...1938...
Wed Dec 10 18:05:45 CET 2008


Hi List,

This in the module area works.
Private hCFG As New Settings("/Path/To/cfg")

Because I'm writing a component, now I have to do this in the module area:
Private hCFG As Settings

And something like this in the _init-Sub
hCFG = New Settings("/Path/To/cfg")
'Just for testing
Print hCFG["General/Color"]

No complains when compiling it..but the object stays empty. Print() doesn't 
put any data out.

What I'm doing wrong?

...and another question: Where can I get (read) informations about such things 
and how to do them in Gambas?

TIA
Stevie







More information about the User mailing list