Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Class name
Message
De
21/02/2005 21:53:37
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
21/02/2005 20:01:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00989089
Message ID:
00989114
Vues:
22
>I have a form using several (many) instances of the textbox class. I have now created my own subclass of the textbox. I would like to automate the process of changing the class names. Is this possible? If so, how exactly do I do this? TIA.

After making a zipfile, for example, backup, you can something like:
USE MyForm.SCX 
COPY TO MyForm_Save.SCX && redundant backups can never be a bad thing
REPLACE FOR BASECLASS = 'textbox' class with 'MyTextBox', classloc with "MyClassLib.vcx"
USE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform