Tool Tips on RichTextBox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian

    #1

    Tool Tips on RichTextBox

    How can I create tool tips for Richtextboxes.. ..
    this is what I am trying to do....
    have a one line rich text box. When the users hovers over it, the tool tip
    will display all the text in the textbox.
    Also, I'd like to have like a collapse/expand function. Not sure how I
    would do this. but like I said, the richtextbox would show one line of
    text. If the user wants to edit or see all of the text then they would click
    on the + sign to expand it. When the click off of it, it would go back to
    being one line again.
    Any help?
    Thanks,
    Brian


  • David Griffiths

    #2
    Re: Tool Tips on RichTextBox

    Part 1 the Tooltip

    Add a tooltip to the form

    Private Sub RichTextBox1_Mo useHover(ByVal sender As Object, ByVal e As
    System.EventArg s) Handles RichTextBox1.Mo useHover
    ToolTip1.SetToo lTip(RichTextBo x1, RichTextBox1.Te xt)
    End Sub

    --
    DaveG

    "Brian" <bsgallatin@com munity.nospamwr ote in message
    news:OJFSrhWkIH A.2396@TK2MSFTN GP02.phx.gbl...
    How can I create tool tips for Richtextboxes.. ..
    this is what I am trying to do....
    have a one line rich text box. When the users hovers over it, the tool
    tip will display all the text in the textbox.
    Also, I'd like to have like a collapse/expand function. Not sure how I
    would do this. but like I said, the richtextbox would show one line of
    text. If the user wants to edit or see all of the text then they would
    click on the + sign to expand it. When the click off of it, it would go
    back to being one line again.
    Any help?
    Thanks,
    Brian
    >

    Comment

    Working...