PDA

Click to See Complete Forum and Search --> : Search and Replace help


badgers
Jan 10th, 2000, 12:43 AM
Form1 takes the search and replace stirng input. This info searches and replaces text in text box Text1 on Form2. It works with one problem. If I set the focus to form2, the user gets the text highlighted for them. To keep seaching they must click Form1 to give it the focus, this works but ain’t great. :(

If I leave the focus on Form1 the user can keep searching by just hitting enter. The problem is that the found text on form2 does not get highlighted. The user doesn't have the intuitive signal to where the text is.(this makes it pretty much useless):0
I would like to allow the user to just hit enter to keep going through the text, but still have the highlighting of found text.
Is this possible?
thank you for your time and have a good day


------------------
I am so skeptacle, I can hardly believe it!

Frans C
Jan 10th, 2000, 02:44 AM
Set the HideSelection property of Text1 to False, you then don't have to put the focus on Form2. Maybe you have to move Form1 so it doesn't cover up the textbox.

badgers
Jan 10th, 2000, 02:52 AM
Thank you! :)
you rock