Hi Nadya,
Try this set of pseudo-code:
Get the appliations root folder
for each child folder
for each scx file
open the scx table (use formname.scx)
locate for baseclass = 'form'
find the string 'procedure' immediately before the string 'init'
find the string 'endproc' immediately following the string 'init'
if the string 'setfocus()' occurs between the strings located above
the form matches, record this as a hit
endif
close the scx table
end for
endfor
HTH
Cheers,
Andrew
>Hi everyone,
>
>Here is a problem:
>I'd like to search through all applications (which are located under APPL directory in its own directories with subdirectories) and search for SetFocus() in Form's.Init.
>
>Is it doable other than manual?
>
>Thanks a lot in advance.
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.