Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching through all application directory...
Message
 
 
To
17/10/2000 15:44:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00430305
Message ID:
00431038
Views:
23
>>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.
>
>Use Adir to get every SCX file, do a MODI FILE NOWAIT on all files found, then do an aSelObj(aA, 1) and this will tell youf is SetFOcus() is in the Init method:
>
>?'SetFocus()' $ aA[1].ReadMethod('init')

Hi Mike,
 modify form (alltrim(cfilename)) nowait
 =aSelObj(aA, 1)
 llFlag=.f. 
 llFlag=(atc("SetFocus", aA[1].ReadMethod("Init"))>0)	
 keyboard '{Ctrl+W}'
 replace flag with llFlag
How can I close the form? Keyboard seems to do nothing...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform