|
-
Nov 14th, 2000, 09:17 AM
#1
Thread Starter
Junior Member
hello
how can i make a tooltiptext in a enabled textbox
i use if txt.enabled = true then txt.tooltiptext = "message" and not working
help me please
farizza
-
Nov 14th, 2000, 09:26 AM
#2
Frenzied Member
This code is working for me
Code:
Private Sub Command1_Click()
Text1.Enabled = True
Text1.ToolTipText = "message"
End Sub
After this i can see the tooltiptext when i hold the mouse over the text box.
-
Nov 14th, 2000, 09:29 AM
#3
Fanatic Member
The code should work just fine. You might double-check where you are executing the code from.
-
Nov 14th, 2000, 09:34 AM
#4
Fanatic Member
Try This
Private Sub Text1_GotFocus()
Text1.Enabled = True
Text1.ToolTipText = "message"
End Sub
Private Sub Text1_LostFocus()
Text1.Enabled = False
Text1.ToolTipText = ""
End Sub
Cheers
Ray
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
|