Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add Property or Method to Control
Message
 
À
17/12/1998 07:51:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00168417
Message ID:
00168428
Vues:
29
You can only add a property to a text box class, not an instance of a textbox. Just create the class and add the property then add an instance of your class to your form.

>It is easy to visually add a property or method to a form (Form/New Property) or to a class (Class/New Method).
>
>My VFP Bible (Using VFP 5 by Michael Antonovich) indicates that you can add properties and methods to controls and forms. It shows an example for a form but not for a control. The book has examples where a method is added in code with: PROCEDURE - END PROCEDURE.
>
>I would like to be able to add a method to a textbox control visually. Can this be done? How?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform