Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OBrowser - Turn on Search (CTRL +F)
Message
 
To
23/04/2013 15:10:11
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01571673
Message ID:
01571685
Views:
69
>>>>I know someone knows this on off the top of their head. I want to bring up the Search Window in the browser control in a VFP form with a menu button the same as if someone used CTRL +F.
>>>
>>>SWAG, use the KEYBOARD command?
>>
>>Thanks Mike but...
>>Tried this code. Also tried a macro. No luck. Need the API call for oBrowser.
>>
>>
Thisform.obrowser.setfocus()
>>KEYBOARD '{CTRL+F}'
>
>
>How about thisform.obrowser.execWB(32, 0) where 32 is "Find"? See http://msdn.microsoft.com/en-us/library/ms691264.aspx for all enum values.

That did it. Thanks a million Mike!
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform