Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add events?!
Message
De
06/01/2000 10:35:00
 
 
À
06/01/2000 10:15:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00313888
Message ID:
00313908
Vues:
70
>how to add a function or some coding into a object.event?!
>say, i want to run the command messagebox("test",0,"test")
>when the command1.click happen~!
>how to add into it by using coding~?

Wai Wai,
What you need to do is define your button as a class of type commandbutton. Then, within that class, you are able to define all the properties, events, and methods for your commandbutton class.

DEFINE CLASS myButton1 AS COMMANDBUTTON
&& DEFINE EVENTS HERE
ENDDEFINE

Paul A. Busbey
I.S. Department
Sparagowski & Associates
Paul A. Busbey
Victoria Insurance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform