Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching through all application directory...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00430305
Message ID:
00430329
Vues:
32
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform