Re: [Gambas-user] Eval error

2011-09-16 Thread JUHASZ Robert
Merci Benoit! FYI: my system is 32 bit version (ignore if not relevant). Robi -Original Message- From: Benoît Minisini Reply-to: mailing list for gambas users To: mailing list for gambas users Subject: Re: [Gambas-user] Eval error Date: Fri, 16 Sep 2011 20:19:32 +0200 > +1 > > I'm u

Re: [Gambas-user] Eval error

2011-09-16 Thread Benoît Minisini
> +1 > > I'm using Eval() in my gambas2 project too, to check event conditions > (domotica lamp on events that is) > > Like this for example: > Eval(Var_Sunset = Format(hour(Now()),"0#") & ":" & > Format(minute(DateAdd(now(), gb.Minute, 30)),"0#")) > > Some people report weird behavior with othe

Re: [Gambas-user] Eval error

2011-09-16 Thread Ron
+1 I'm using Eval() in my gambas2 project too, to check event conditions (domotica lamp on events that is) Like this for example: Eval(Var_Sunset = Format(hour(Now()),"0#") & ":" & Format(minute(DateAdd(now(), gb.Minute, 30)),"0#")) Some people report weird behavior with other code... I'm sure

Re: [Gambas-user] Eval error

2011-09-16 Thread JUHASZ Robert
;-( It would be great to fix it in gambas2, too if possible. At the moment I don't want to move to gambas3 my production softwares because it is still RC (and I suppose that I should learn and work a little to get my programs working again). Robi -Original Message- From: Benoît Minisini

Re: [Gambas-user] Eval error

2011-09-16 Thread Benoît Minisini
> Hello Benoit, > > Finally I succeeded to install the latest version of gambas2 but I > haven't succeeded with the Eval function. > > 1. I installed a brand new ubuntu 10.04 in virtualbox, performed the > updates and installed gambas2 from source. > Eval works fine under 10.04 but the .deb packa

Re: [Gambas-user] Eval error

2011-09-16 Thread JUHASZ Robert
Hello Benoit, Finally I succeeded to install the latest version of gambas2 but I haven't succeeded with the Eval function. 1. I installed a brand new ubuntu 10.04 in virtualbox, performed the updates and installed gambas2 from source. Eval works fine under 10.04 but the .deb package created and i

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-16 Thread Ru Vuott
Hello Benoît, well, I cannot send you a source code, because, what I need and... wish, it doesen't exist in Gambas. I 'ld like to specify that ALSA provides only the "file descriptors". Stop ! The reopening of the same file should be checked and confirmed (you know it), because the opening coul

Re: [Gambas-user] MySQL socket path

2011-09-16 Thread Benoît Minisini
> I cannot seem to find a way to set the mysql socket path. > Nor in gambas3 gb.mysql nor in gambas2 gb.db component. > > How can I do that? > > See here for more related info when using localhost as host. > http://dev.mysql.com/doc/refman/5.5/en/can-not-connect-to-server.html > As far as i can s

Re: [Gambas-user] Programmatically clicking the TreeView (Gambas 2)

2011-09-16 Thread Rolf-Werner Eilert
Argggh - so simple! Thank you! :-) Rolf Am 16.09.2011 12:59, schrieb Fabien Bodard: > 2011/9/16 Fabien Bodard: >> TreeView1.MoveParent >> TreeView1.Item.Selected = TRUE >> TreeView1_Click() >> >> :-) > the only thing is you can't use the Last keyword ! >> >> 2011/9/16 Rolf-Werner Eilert: >>> Wh

Re: [Gambas-user] Programmatically clicking the TreeView (Gambas 2)

2011-09-16 Thread Fabien Bodard
2011/9/16 Fabien Bodard : > TreeView1.MoveParent > TreeView1.Item.Selected = TRUE > TreeView1_Click() > > :-) the only thing is you can't use the Last keyword ! > > 2011/9/16 Rolf-Werner Eilert : >> When I set >> >> TreeView.MoveParent >> TreeView.Item.Selected = TRUE >> >> the newly selected Item

Re: [Gambas-user] Programmatically clicking the TreeView (Gambas 2)

2011-09-16 Thread Fabien Bodard
TreeView1.MoveParent TreeView1.Item.Selected = TRUE TreeView1_Click() :-) 2011/9/16 Rolf-Werner Eilert : > When I set > > TreeView.MoveParent > TreeView.Item.Selected = TRUE > > the newly selected Item doesn't effect a click event. Is there a way to > let that happen, or will I have to find an in

[Gambas-user] Programmatically clicking the TreeView (Gambas 2)

2011-09-16 Thread Rolf-Werner Eilert
When I set TreeView.MoveParent TreeView.Item.Selected = TRUE the newly selected Item doesn't effect a click event. Is there a way to let that happen, or will I have to find an internal way to call the TreeView_Click function? Regards Rolf --

[Gambas-user] MySQL socket path

2011-09-16 Thread Ron
I cannot seem to find a way to set the mysql socket path. Nor in gambas3 gb.mysql nor in gambas2 gb.db component. How can I do that? See here for more related info when using localhost as host. http://dev.mysql.com/doc/refman/5.5/en/can-not-connect-to-server.html As far as i can see this should b