[Gambas-user] Timer

Jussi Lahtinen jussi.lahtinen at ...626...
Fri Jan 27 15:52:30 CET 2017


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 <clangbone at ...43...> wrote:

> 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 not right!
>
> I really want to like and use Gambas but am put off by the unclear help
> and lack of very simple examples.
>
> Here is where I Went delete happy then gave up.
>
>
>
>
>
>
> ' Gambas class file
>
> Public Sub Form_Open()
>
>
>
> End
>
> Public Sub Timer1_Timer()
>
>   ValueBox1.Value = Timer1
>
>
> End
>
> Public Sub ValueBox1_MouseDown()
>
>
>
>
> End
>
>
>
> Public Sub Button1_Click()
>
> Timer1.Enabled = True
>
> End
>
>
>
> Public Sub Button2_Click()
>
>
>
> End
>
> Public Sub Button3_Click()
>
>
>
> End
>
>
>
>
>
> Any help would help.
> Ta.
>
>
>
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list