Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help! How to implement this?
Message
De
31/12/1999 01:03:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Help! How to implement this?
Divers
Thread ID:
00310827
Message ID:
00310827
Vues:
55
Hi,
I have a form that I am using as splash screen. When it comes up, it stays for 2 secs and goes away. If user presses SPACEBAR key down then it should stay even after 2secs until user finally leaves SPACEBAR key up.

In Foxpro I don't see any events for key down and key up. Only event that is available is Keypress for keyboard events.

I am able to implement the 2secs delay, but don't know how to implement the other part.

One implementation of spacebar functionality didn't work. This is what I tried.
In my 2sec event handler of a timer, I am calling InKey() and checking whether user currently pressed SPACEBAR. If yes, then don't hide the splash else hide it. But Inkey() is always returning 0(i.e. no key was down instead of 32) even though I pressed SPACEBAR key down.

Any help is appreciated.

Thanks
Puri Malluru
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform