>>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
Peter Cortiel