Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement