[Visual Basic] how to run a set of click events or procedures

Graeme Summers graemebs at bigpond.net.au
Sun Jun 20 20:33:35 EST 2010


Whoops, left out one line for the next time you click the button...

If Num < 0 Then

    tmrCount.Stop()

    Num = 9

End If



regards,

Graeme



----- Original Message ----- 
From: "Maggie" <iaquinto at ozemail.com.au>
To: "VBasic" <vbasic at edulists.com.au>
Sent: Sunday, June 20, 2010 6:46 PM
Subject: [Visual Basic] how to run a set of click events or procedures


>I am using one of Adrian Janson's exercises - similar to the LCD
> display. In this exercise you can click on a 3 and it shows the numeral
> three highlighted by several rectangles to appear as the number.
>
> I want to show a countdown - yes I can do a countdown with a timer and
> output the countdown in a label as in: 10 - 9 - 8 etc. - but this is
> different.
>
> What I would like to do is to run all these click events to show a
> countdown.
>
> So the click event for 8 has its own sequence of statements; the click
> event for 7 has its own, etc.
>
> I want a button to run the coding for each of these click events.
>
> How do I do that?
>
> Maggie
> _______________________________________________
> http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
> Vbasic Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority 
> and
> http://www.vitta.org.au  - VITTA Victorian Information Technology Teachers 
> Association Inc
> 



More information about the vbasic mailing list