Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methods
Message
 
 
À
30/09/2004 15:26:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00947690
Message ID:
00947696
Vues:
14
With VFP8 use BindEvent function

>Hi,

>I have added an object to _screen and properties but I cant find an example of adding a method. The code for adding the object is:
>_screen.AddObject('capord','label')
>I can add a property by:
_screen.capord.caption='Customers'
>but I dont know how to add a method to object capord!

>I can define a class of type label and stick a procedure in it but I dont want to do that; I want to do it the simple way by adding a procedure as a method to and existing object programmatically.
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform