G
Guest
Please don't shoot for the VB post but I know there are a lot of VB Pro's
here and this is something I simply cannot figure out.
(I'm new to VB so I claim newbie exemption from any critisism.)
I'm trying to display a simple countdown using a Label Box Sub with the
following code:
190: For intCTR = intNUM To 1 Step -1
200: lblBOX.Caption = ""
210: lblBOX.Caption = intCTR
220: For x = 1 To 1000000 'Meant to delay the countdown.
221: Next x
300: Next intCTR
The initial intCTR number appears (5 for example) as expected and the
display is delayed by line 220. But there are no successive countdowns
displayed until the number 1 is reached. I ran a debug and the code executes
as written sequentially, however #'s 4 - 2 never appear, only 5 then 1. Very
confusing... Can anyone please explain.
Thanks...
here and this is something I simply cannot figure out.
(I'm new to VB so I claim newbie exemption from any critisism.)
I'm trying to display a simple countdown using a Label Box Sub with the
following code:
190: For intCTR = intNUM To 1 Step -1
200: lblBOX.Caption = ""
210: lblBOX.Caption = intCTR
220: For x = 1 To 1000000 'Meant to delay the countdown.
221: Next x
300: Next intCTR
The initial intCTR number appears (5 for example) as expected and the
display is delayed by line 220. But there are no successive countdowns
displayed until the number 1 is reached. I ran a debug and the code executes
as written sequentially, however #'s 4 - 2 never appear, only 5 then 1. Very
confusing... Can anyone please explain.
Thanks...