Android Question Repeat a routine

David Troup

Member
Licensed User
Longtime User
Microsoft Visual Basic will show the colours (linked to numbers) generated by a random number generator “rolling over” in a Picture Box before displaying the final “selection”. Basic4Android will only show the final “selection”.

I need to show, in a Picture Box, a random selection of colours but want them to flash up the different colours being “considered”, before the “final selection” is made whilst the random selection is processed, with an n-millisecond pause on each.

Is there a way in Basic4Android of “repeating” code blocks with an n-millisecond pause in between each routine?
Kind regards,
David.
 

barx

Well-Known Member
Licensed User
Longtime User
Try using a timer to fire the routine...
 
Upvote 0

David Troup

Member
Licensed User
Longtime User
Thanks but I'm a novice and that answer does not really help. What do you mean "use the timer"? How?
Kind regards,
David.
 
Upvote 0

David Troup

Member
Licensed User
Longtime User
Upvote 0
Top