Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OpenRecordSet
Message
 
À
21/02/1999 21:29:58
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Divers
Thread ID:
00189193
Message ID:
00189923
Vues:
10
>how about DoEvents() .. can I add it also ? .. thanks Eric for the advice

DoEvents is often use in a looping structure when you want other controls to react (to let other events occur).

Consider the following example:

Dim x As Integer
For x = 1 To 5000
Label1.Caption = x
DoEvents
Next x

If you run it, you will see (if you read fast enough) every number between 1 and 5000. If you erase the DoEvents statement, you will only 5000 appears at the end of the structure.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform