Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add events?!
Message
De
07/01/2000 15:11:25
 
 
À
06/01/2000 11:04:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00313888
Message ID:
00314683
Vues:
50
>i know this method, but what i want to do is use coding method to declare a object event~!

There's no way to add a new event to the native VFP controls; if you decided that you needed a double-click event, you'd either have to code a subclass to handle the dobleclick via the known click event (maybe the first click fires a timer, and if a second click occurred while the timer was running, have seaparate code for doubleclick handling) or use something like an OptionButton or shape to emulate the commandbutton behavor, which has a doubleclick event native to it.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform