Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace baseclasses
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00184449
Message ID:
00184521
Vues:
18
Peter,
You might need to COMPILE FORM (laTables[i]) on each file.
-just a thought...
Mark

>>>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
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform