|
-
Jul 29th, 1999, 06:20 PM
#1
Thread Starter
New Member
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
-
Jul 29th, 1999, 10:25 PM
#2
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|