Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Metrosplash screen for atleast five secs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00666109
Message ID:
00666119
Vues:
15
Hi!

A easy way is:
...
DO FORM "FORMS\METROSPLASH" NAME splash LINK
= INKEY(5,"HM") 
* set this flag if version needs to be reinstalled
SET TALK OFF
...
The INKEY(5,"HM") wait for 5 seconds, no cursor is shown but if the user clicks the mouse or hit any key, the code goes on!


The hard way is to use a DO WHILE loop which waits 5 seconds, but in this case the user didn't has the possibility to reduce the waiting time!
ltDateTime = DATETIME()
DO WHILE DATETIME() - m.ltDateTime < 5
ENDDO
SeBaFlu
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform