W H Y T H I S ? (No 2)

G

giannis

When i run this code with F8 ,
works very well; but if i run normal
i cant see the blinking of label !!!
Do
Label.Visible = False
t = Timer
Do While Timer - t < 2
Loop
Label.Visible = True
t = Timer
Do While Timer - t < 2
Loop
Loop

Is there any problem with the
DO..LOOP and the drawing
of the forms ?
 
J

John Viescas

Again, put a DoEvents inside the loop so that other processes in Access have
a chance to complete their work.

--
John Viescas, author
"Microsoft Office Access 2003 Inside Out" (coming soon)
"Running Microsoft Access 2000"
"SQL Queries for Mere Mortals"
http://www.viescas.com/
(Microsoft Access MVP since 1993)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top