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

Brett Groves groves.brett.g at edumail.vic.gov.au
Sun Jun 20 19:00:23 EST 2010


The clumsy but easy way is to do this is to use a 'call xxxx (name of 
sub)' command at the end of the routine but prior to end sub

Cheers

Brett

On 20/06/10 18:46, Maggie wrote:
> 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
>
>    

Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.


More information about the vbasic mailing list