Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace baseclasses
Message
From
05/02/1999 15:50:41
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00184449
Message ID:
00184516
Views:
15
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform