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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to