Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace baseclasses
Message
 
 
À
05/02/1999 15:50:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00184449
Message ID:
00184601
Vues:
14
>>>How can I replace a base class with a new one. Say, I have used myCombo and now I want to change it globally to myNewCombo without having to recreate my forms from scratch?
>>>
>>>Any ideas?
>>>
>>>Peter
>>
>>I just posted some code to do it on another thread yesterday or the day before. I don't remember the name of the thread, but if you look at the last couple days, you should find it.
>>
>>-Michelle
>
>
>ADIR(laForms,*.scx)
>FOR i = 1 TO ALEN(laForms)
>USE (laTables[i]) IN 0
>REPLACE ALL class WITH newtextbox FOR class = oldtextbox
>REPLACE ALL classloc WITH newloc FOR classloc = oldloc
>USE IN (laTables[i])
>ENDFOR
>
>if this is it then I have done that and it is not enough. The is method code in at least one memo field and I strtran'd in there too but still not enough. There must be more to it than meets the eye.
>Thanks anyway
>
>Peter

Yeah, that's it. I'm not sure what you mean about code in the memo field? What memo field? I thought you just wanted to change the classes?

-Michelle
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform