Results 1 to 5 of 5

Thread: Rich Text Box

  1. #1

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    In a standard text box I get a context menu without any code. If I right click over a text box I can choose cut,copy,past,undo yadda,yadda,yadda.
    In a RichTextBox I do not have that comming up. However if I use the controlZ or controlC hot keys they work.
    what code or property controls if this menu is shown?
    it seems obvious that the functions are there somewhere.
    thank you for your time and have a good day
    I am so skeptical, I can hardly believe it!
    PS I am not a 'hyperactive member' I am a cool, calm, and collected member

  2. #2

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    never mind I am sorry to have bothered you all.

  3. #3

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    here is another one for you.
    I have made a form to do the search and replace funtion.
    When I would perform the search on a text box I could highlight the text on a different form without it taking the focus. The focus stayed on the search form.
    How do I get the text to become hightlighted in a rich text box without it taking the focus.
    This is an issue because the user has the option of "find next" so I would like to keep the focus on the search form.
    recap.
    form1=search form
    form2=contains rich text box
    when text is found in form 2 I want it to be highlighted(selected) but keep focus on form1 so the user can "find next"
    thank you for your time and have a good day

  4. #4
    Member
    Join Date
    Apr 1999
    Posts
    56
    In your rich text box properties, set HideSelection to false so the highlighted text will stay highlight when the form loses focus.

  5. #5

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    thank you for your help

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