Results 1 to 2 of 2

Thread: ToolTip Text Property

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Location
    UK
    Posts
    1

    Post

    On the change event of a text box i am using a findstring to search for records like the one the user is entering ie Data1.Recordset.FindFirst "[SURNAME] like '" & Text1.Text & "*'"

    This works fine but what i want to do is pass the record into the tooltip text and force the tooltip to be displayed, then enable the user to press tab and it then displays the record that has been found. Does anyone know how to force the tooltip to be displayed without the mouse being moved onto the object?? Any help would much appreciated. Cheers

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Posts
    82

    Post

    Hi,

    I don't know how to force the tooltip, but you can fake it by using a label that moves around to the position that you want. You can display and hide the label whenever and wherever you want. The only property you would need to change are caption. Then using the move method of the label:

    label.Move left, top, width, height

    Position the label anywhere you want according to other controls

    ie:

    I have a text box and I want to position the label right below the textbox and left aligned right down the middle:

    label.move ((textbox.left + textbox.width)/2)), (textbox.top+textbox.height)

    Hope this helps,

    Preeti

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