Results 1 to 3 of 3

Thread: Search and Replace help

  1. #1

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444

    Post

    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!

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Post

    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.

  3. #3

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444

    Post

    Thank you!
    you rock

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width