Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2000 Server
>>>>>>Check Code Refrences on the Tools menu.
>>>>>>
>>>>>>>Is there a utility available that will allow me to globally replace every occurance of a text segment throughout a form's methods?
>>>>>>>If there isn't, this might be a nice litte addition for the Sedna team to consider.
>>>>>
>>>>>Thank you fellows. I'm on it. VFP continues to amaze me with it's depth.
>>>>>Grady
>>>>
>>>>Hey Grady?
>>>>
>>>>If you're finding you have lots of common code in various methods you may want to consider breaking that out into a new object. Then you can change things in one place instead of in several.
>>>
>>>Nifty idea, Mike. Most of the code is under a button click.
>>
>>If it's under *a* button click, you don't need a search tool. If it's under *many* button clicks, you need a code reorganization. ;-)
>
>It's just an alias name change. But there ninety buttons.
Wow!!!
How about add a property to you form class icAlias?
Change the ninety buttons to refer to THISFORM.icAlias.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only