Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to put Find dialog in a program

Status
Not open for further replies.

InyoTom

Technical User
Joined
Feb 4, 2000
Messages
33
Location
US
When viewing a table, Edit Find (or the binocular icon) puts up a nice dialog so you can specify such things as matching full-field or partial field, etc.

How can I put this dialog in my program? [sig]<p>Tom Budlong<br><a href=mailto:budlong@who.net>budlong@who.net</a><br><a href= > </a><br> [/sig]
 
Hi Tom,

you mean from a form
put a button and in the click event

put

SendKeys &quot;^f&quot;

and that will put the find utility on the form

HTH [sig]<p>Robert Dwyer<br><a href=mailto:rdwyer@orion-online.com.au>rdwyer@orion-online.com.au</a><br>[/sig]
 
Hi Tom,

sorry you might like to add this
so it will use the last field that had focus for the search field.

Screen.PreviousControl.SetFocus
SendKeys &quot;^f&quot; ' thats the shift F6 and an F

HTH
[sig]<p>Robert Dwyer<br><a href=mailto:rdwyer@orion-online.com.au>rdwyer@orion-online.com.au</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top