Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing the Foxpro Base Classes...
Message
De
20/07/1999 18:45:46
 
 
À
20/07/1999 18:17:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00243353
Message ID:
00243894
Vues:
36
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!)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform