Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function keys and validations
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00665069
Message ID:
00665436
Views:
19
>This is just a sample. To make it generic, you have to add checking for ActiveX controls, OLEBoundControl (you cannot compare field of General type) etc.

One other thought: you checked for the possibility of a grid, but anyone who uses pageframes would also have to check for a pageframe, and a grid within it ... in fact, you might need a form method like "RealActiveCtrl" which "drills down" through any active container objects into the lowest active non-container object.

To be really generic.

I bet the commercial frameworks all have something like this.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform