Hi
modify a FORM not a program in your project.
Duble Click on the form to get the code window.
Edit -> Replace
In the replace dialog window set the scope to "All Objects".
Make sure that you use the other 4 option "Match,Match,Warp,Search" as you see fit.
- In Downloads search for "Project", then pick a) "Project Search Wizard", b) "Regular Expr search in Project Files" or c) "SearchString.zip" (the one I like).
Follow the link and download a utility called ts.prg
You can modify the prg to set your path and this will help to search a text in any prg/vcx etc.... in the specified path. The path is almost unlimited except you have to specify that once per project and keep a copy of that in the project directory.
The way I do it is to use the standard Windows Search function on my project directory. Choose to search *.prg, *.sct (for forms), then fill in the "containing text" field with what you're searching for. It gives you a list of all files that contain what you put in.
If you want to figure out exactly which object in your form contains the procedure you're looking for, just open the *.sct file in a text editor (I use EDIT, myself) and search for a string. You should be able to identify the object by the information found above the cursor position. Just make sure you do NOT save the file, even if you don't alter it. You'll never load it again.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.