Re: [Gambas-user] Timer

2017-01-27 Thread Charlie
Hi j h-7, I have created what I think you are looking for, have a look at the attached program. Stopwatch.tar - Check out www.gambas.one -- View this message in conte

Re: [Gambas-user] Timer

2017-01-27 Thread Jussi Lahtinen
It's much easier to help you with your project, if you would put the whole thing as attachment. Select from the menu: Project --> Make --> Source archive And then attach the result to your mail. Jussi On Fri, Jan 27, 2017 at 3:51 PM, j h wrote: > I need help with a simple Stopwatch program in

Re: [Gambas-user] Timer

2017-01-27 Thread Rolf-Werner Eilert
Hi, > > The program has a form with 3 buttons and a valuebox. > Button 1 starts timer. > Button 2 stops timer. > Button 3 restarts timer. Restart? What for, you have Button 1... Or do you mean "resume"? > > As usual I just cannot get the syntax correct to make it work. > When I copy/paste from

Re: [Gambas-user] Timer Not Work - Trunk 3.8.90 Revision 7690

2016-03-31 Thread Fabien Bodard
it's corrected in last svn 2016-03-29 21:09 GMT+02:00 herberth guzman : > Salut Benoit > > I have installed Gambas3 Rev. 7690 > > In my form I have a Timer > Example, shows the time > > Generates the following error: > Mismatch required types: Integer required, obtained FMain instead. > > I compar

Re: [Gambas-user] Timer Error: QTimer can only be used with threads started with QThread

2014-05-12 Thread Randall Morgan
Hi Benoit, I know this is an issue with my code. The error only gets raised when trying to create a timer in a static method on my system. I need a class-wide timer for this simple project. However, I can't seem to get it to work for me. Attached is a simple project. It is a modification of the L

Re: [Gambas-user] Timer Error: QTimer can only be used with threads started with QThread

2014-05-09 Thread Benoît Minisini
Le 09/05/2014 05:25, Randall Morgan a écrit : > Hi Folks, > > I'm creating a simple component that requires two timers. The component > uses gb.qt4. > However, anytime I use the timers I get this error: QTimer can only be > used with threads started with QThread. > > Any ideas how to solve this? >

Re: [Gambas-user] Timer

2009-12-13 Thread nando
age --- From: Laurent Alebarde To: mailing list for gambas users Sent: Sun, 13 Dec 2009 11:54:47 +0100 Subject: Re: [Gambas-user] Timer > Have a look here, it may helps you : > http://forums.genthttp://forums.gentoo.org/viewtopic-t-790101-highlight-xenomai.html > > Benoît M

Re: [Gambas-user] Timer

2009-12-13 Thread Laurent Alebarde
Have a look here, it may helps you : http://forums.genthttp://forums.gentoo.org/viewtopic-t-790101-highlight-xenomai.html Benoît Minisini a écrit : >> Hi, >> I've an application that has a timer that should get fired every 1 >> second. Sometimes when the application is running and my desktop is >

Re: [Gambas-user] Timer

2009-12-11 Thread Benoît Minisini
> Hi, > I've an application that has a timer that should get fired every 1 > second. Sometimes when the application is running and my desktop is > under heavy load the timer doesn't get fired in time. Despite this, my > expectation was that gambas would queue all this "Timer" events and they > woul

Re: [Gambas-user] Timer question

2009-04-02 Thread nando
One way to do this is to use an Int kptimer and set it to 10 every keypress. Inside the timer (if set at 1 second ticks) IF kptimer >= 0 then DEC kptimer 'decrement if kptimer = 0 then 'timeout 10 seconds..do something. 'kptimer will stay at -1 after that until reset to 10. So, the ti

Re: [Gambas-user] Timer question

2009-04-01 Thread JB Skaggs
If I understand what you mean this is what I did to be able to pause and start a timer as the same spot and continue. Mind you I am just beginning to understand this stuff. So bear with the inefficient coding. ' Gambas class file PUBLIC a AS Integer ' for seconds PUBLIC i AS Integer ' for new ti

Re: [Gambas-user] Timer question

2009-04-01 Thread Doriano Blengino
richard terry ha scritto: > On Wed, 1 Apr 2009 09:20:37 am jbskaggs wrote: > >> I use timers alot in the game I am writing. >> >> I just use timer1.delay=5 >> > that wasn't the question - I wanted to re-set the timer to stop the event > triggering until the key action pauses and then let t

Re: [Gambas-user] Timer question

2009-03-31 Thread richard terry
On Wed, 1 Apr 2009 09:20:37 am jbskaggs wrote: > I use timers alot in the game I am writing. > > I just use timer1.delay=5 that wasn't the question - I wanted to re-set the timer to stop the event triggering until the key action pauses and then let the timer progress to execute > > that is pretty

Re: [Gambas-user] Timer question

2009-03-31 Thread jbskaggs
I use timers alot in the game I am writing. I just use timer1.delay=5 that is pretty close to immediate action. then i rest the delay later JB richard terry-5 wrote: > > I want to be able to reset the timers time to 0 at will, without stopping > the > timer, so that I can link it to the ke

Re: [Gambas-user] Timer in Script

2008-12-10 Thread Rolf-Werner Eilert
Stefano Palmeri schrieb: > Il mercoledì 10 dicembre 2008 10:52:24 Rolf-Werner Eilert ha scritto: >> Hello experts! >> >> Can I use a Timer control in a scripted Gambas program, and if yes, how? >> And if not, is it possible in a non-graphical Gambas program? >> >> Thanks for any hints. >> >> Rolf >

Re: [Gambas-user] Timer in Script

2008-12-10 Thread Stefano Palmeri
Il mercoledì 10 dicembre 2008 10:52:24 Rolf-Werner Eilert ha scritto: > Hello experts! > > Can I use a Timer control in a scripted Gambas program, and if yes, how? > And if not, is it possible in a non-graphical Gambas program? > > Thanks for any hints. > > Rolf > Don't know about scripted Gambas