Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing the Foxpro Base Classes...
Message
From
20/07/1999 18:45:46
 
 
To
20/07/1999 18:17:35
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00243353
Message ID:
00243894
Views:
34
Hi Harry,

>I don't want to hear this but I guess that after you've already planted a few hundred textboxes around the place (all based on the vfp baseclass) its too late to go change the parent classes? (or is my fairy godmother watching and you can do this using the field mapping you speak of?

Parden Me, but its not too late. This code will do the trick (but you'll have to run it for every form)
use myform1.scx
replace class with 'mytextboxclass' for upper(class) = 'TEXTBOX', classloc with 'classes\mycontrols.vcx'
That will hack your forms and change the parent class. You will probably want to do this for all types of controls (grid, combos, checkboxes, forms, button, everything!)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform