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:
00430399
Views:
38
Thanks a bunch, Andrew. I'll see, how can I translate this pseudo-code (algorithm, actually) into VFP code. I probably will do it later, since now I have very important and quite complex and combersome new application, which I have to write. And I have no particular idea where to start in terms of UI or design...

Thanks.

>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 it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform