Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Evil FoxPro Tricks
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00233062
Message ID:
00233649
Vues:
28
ROTFLOL!!

Especially since I HATE the way the Caps-Lock key rEVERSES tHE cAPS sTATE lIKE tHIS!!

>>Ha Ha! My partner in crime here at Lexseco, Chris McCandless tried to pull the old "ON SHUTDOWN" gag on me before he took off for Chicago tonight. Fortunately I had just read your post not minutes before I tried exitting FoxPro. Now that he's gone for the weekend have you got any more gags you'd like to share?
>>
>>Todd
>
>Create a timer class with one line in the timer event:
>
>DEFINE CLASS MyTimer AS Timer
>Interval = 1000
>FUNCTION Timer
> CAPSLOCK(!CAPSLOCK())
>ENDFUNC
>ENDDEFINE
>
>Then add the object to the screen in the startup program
>
>_SCREEN.AddObject("Timer1","MyTimer")
>
>
>The cool thing is, you can do this in an executable that doesn't have a user interface (can run invisibly, only visible in the task manager) and the eternal annoyance will work in all applications.
>
>(For those who haven't figured it out, this will cause the Caps Lock to toggle on and off every second)
Bill Armbrecht
VFP MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform