Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add Property or Method to Control
Message
 
To
17/12/1998 07:51:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00168417
Message ID:
00168428
Views:
36
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform