Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Jussi Lahtinen
OK, forgot to update Gambas on my virtual machine... But now there is another problem. I'm in UTC+3, and when I write the time (example 12:00) with CStr(), it will be 15:00 in the settings file. Now if I go to UTC-0, I will get the alarm when my computer clock shows 15:00. I want it always assume

Re: [Gambas-user] Help with Observer 'Stop Event'

2017-03-27 Thread Benoît Minisini
Le 27/03/2017 à 22:18, Tobias Boege a écrit : > On Mon, 27 Mar 2017, Riccardo wrote: >> I have an observer on a ValueBox control to prevent it changing to zero and >> to prevent it becoming larger than the value in a different ValueBox. >> >> Public Sub valNumObserver_change() >> >> If valNum.val

Re: [Gambas-user] collection of collection problem

2017-03-27 Thread PICCORO McKAY Lenz
2017-03-27 12:38 GMT-04:00 Fabien Bodard : > Hi Lenz, > > GambasForge was not an Community project but my own project at first. > That's why it is not conventionnal. > umm isuspect that but my hope was due the "framework" word as propaganda (i dont remenber where i read.. well whatever) http://g

Re: [Gambas-user] Help with Observer 'Stop Event'

2017-03-27 Thread Tobias Boege
On Mon, 27 Mar 2017, Riccardo wrote: > I have an observer on a ValueBox control to prevent it changing to zero and > to prevent it becoming larger than the value in a different ValueBox. > > Public Sub valNumObserver_change() > > If valNum.value = 0 Then valNum.Value = 1 > If valNum.Value > v

[Gambas-user] Help with Observer 'Stop Event'

2017-03-27 Thread Riccardo
I have an observer on a ValueBox control to prevent it changing to zero and to prevent it becoming larger than the value in a different ValueBox. Public Sub valNumObserver_change() If valNum.value = 0 Then valNum.Value = 1 If valNum.Value > valDen.Value Then Stop Event End With first case,

Re: [Gambas-user] collection of collection problem

2017-03-27 Thread Fabien Bodard
Hi Lenz, GambasForge was not an Community project but my own project at first. That's why it is not conventionnal. The goal was just to give a place for french people to share gambas programs and code piece. This was also for me my first try on gambas cgi. Why hidding urls ? well in fact it's n

Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Benoît Minisini
Le 27/03/2017 à 17:02, Jussi Lahtinen a écrit : >> Using the development version, you have to store your date in the >> settings file using CStr(), and read it using CDate(). >> > > That does not work if the settings file is written in English and opened in > Finnish. CDate() just fails silently (r

Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Jussi Lahtinen
> Using the development version, you have to store your date in the > settings file using CStr(), and read it using CDate(). > That does not work if the settings file is written in English and opened in Finnish. CDate() just fails silently (returns null). Jussi --

Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Benoît Minisini
Le 27/03/2017 à 07:27, PICCORO McKAY Lenz a écrit : > similar behavior occurs me when i swicht languajes and manipulates amounts > in my POS system, in english vs spanish decimals alternate with "," and "." > and theres no way to use an universa only form.. > > u must stored separated.. > > Lenz Mc