Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global replacement
Message
From
18/11/2006 10:00:44
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
18/11/2006 09:13:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01170886
Message ID:
01170970
Views:
11
>>>>>>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
Map
View

Click here to load this message in the networking platform