Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hope this could be...
Message
De
09/08/2003 12:42:29
 
 
À
09/08/2003 12:03:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00818577
Message ID:
00818582
Vues:
22
The problem is that every object needs some code in the Click Event, and if I do it with the original class for this object, there will be not code.

If you are using VFP 8.0, you can do this without a subclass by using BINDEVENT() to bind the click event of the control to your custom form method.

I tried to put the class I'd created in the form, but it tells me "Class XXXXXXX have not been defined".

The AddObject() method requires that the classlib be loaded using
SET CLASSLIB TO << My Vcx >> ADDITIVE 
or
SET PROCEDURE TO << My Prg >> ADDITIVE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform