Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add one line in all forms
Message
 
To
07/10/2005 10:55:36
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057064
Message ID:
01057196
Views:
8
mk;

Are you using the text box directly from the VFP Library, or have you sub classed it? When using OOP such as is available within VFP the first thing I was taught to do was to subclass all controls. From there you subclass controls as necessary for specific functionality.

Now if you had a sub classed control as described above, you would place code within that one object, drop it on your forms and you are all set. Any changes to that objects functionality that spans all forms where it is used will be reflected by simply changing code in one place.

The alternative is to go to each form and drop in the required code.

Tom


>i have already created my all the forms and now i want to add this line to my all forms programmeticaly otherwise i have to go and change my all forms manualy.
>
>is there any way to do this programmeticaly.
>
>warm regards,
>mk.
Previous
Reply
Map
View

Click here to load this message in the networking platform