Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugger
Message
From
19/02/2016 13:07:08
 
 
To
19/02/2016 11:44:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows 7
Database:
Oracle
Application:
Desktop
Miscellaneous
Thread ID:
01631676
Message ID:
01631758
Views:
91
>The other alternative is to class(ify) each form, but the work involved adding dodefault() to each and every object and method thereof on each form - I would be here for years - lol!
>
>I don't suppose there is a universal dodefault() that will do it for every object and method in a class...

It's really easy to write code that loops through a group of forms modifies them. This paper shows some of the things you can do: http://www.tomorrowssolutionsllc.com/Conference%20Sessions/VFP--Ideal%20for%20Tools.pdf, though it's more focused on looping through everything in a project.

This one has some code that looks at every form in a project and does something to it: http://www.tomorrowssolutionsllc.com/Articles/Changing%20all%20Forms%20in%20an%20Application.PDF

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform