Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh method
Message
 
To
05/03/2001 17:14:15
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00482006
Message ID:
00482016
Views:
12
Dean;

I did something similar with VFP 3.0 , almost six years ago, when a P100 CPU was the fastest machine available. It was a customer requirement to not have "live edits", etc. and worked with complex forms. I can recall that with about 50 objects on a form it took about 1.0 seconds to instantiate a form. You could use an IIF() statement to gain about 15% in speed but with a CPU or 200Mhz or faster I do not think you will notice any difference.

There may be a better way to do it but it worked for me and the customer had me convert it to VFP 6 a year ago because of "Y2K" concerns (gee, almost forgot that term).

I liked the concept as you just changed a property of the form and all the objects responded as required. Another way to do it is to create FOR loops for each group of objects - very creative and the code is so nice to show others how to write such code. Not my cup of tea but others love to do things that way. If it works and the customer is happy, what more can I say?

Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform