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

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

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

[Gambas-user] Timer

2017-01-27 Thread j h
I need help with a simple Stopwatch program in Gambas 3.9.2 The program has a form with 3 buttons and a valuebox. Button 1 starts timer. Button 2 stops timer. Button 3 restarts timer. As usual I just cannot get the syntax correct to make it work. When I copy/paste from the help browser still

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

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

2016-03-29 Thread 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 compared the .src / FMain.form file with another if it works and found a change, I hope it

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

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? I am

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

2014-05-08 Thread Randall Morgan
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? I am running Ubuntu 12.04 with latest updates. [System]

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 under

Re: [Gambas-user] Timer

2009-12-13 Thread nando
--- From: Laurent Alebarde l.alebar...@free.fr To: mailing list for gambas users gambas-user@lists.sourceforge.net 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

[Gambas-user] Timer

2009-12-11 Thread Toni
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 would get

Re: [Gambas-user] Timer question

2009-04-02 Thread nando
, the timer control always runs. -Fernando -- Original Message --- From: richard terry rte...@pacific.net.au To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wed, 1 Apr 2009 07:45:35 +1100 Subject: [Gambas-user] Timer question I want to be able to reset the timers

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 the timer

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

[Gambas-user] Timer question

2009-03-31 Thread richard terry
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 keypress of a textbox. Every time the user hits a key, the place the timer is up to is reset, once they lag, then the timer event fires. Dosn't seem to be such a property. Thanks.