Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching through all application directory...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00430305
Message ID:
00430329
Views:
31
This message has been marked as a message which has helped to the initial question of the thread.
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 && each scx file
endfor && each child folder
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform