Hi

I want to display content of text boxes in its tool tip how it can be done.

Thanks

Recommended Answers

All 5 Replies

Hi

I want to display content of text boxes in its tool tip how it can be done.

Thanks

Just Get the properties of textbox then find the property tooltip text then type some text with you want to display at run time

Please download and view the attachment below

Please mark the thread as solved if it helps you.

Hi

I could not open the attached Zip file message - " invalid archive"

but i belive this will display the text i set evertime when the user moves the mouse close to it. But i want to display the actual content of text box in tool tip.
This i want because some textbox are small due to space on form but text in textbox is long and half text remains hidden. i want to display whole text in tool tip when user moves the mouse curser close to it.

thanks

Under your text box MouseMove event the following -

Private Sub Text1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

Text1.ToolTipText = Text1.Text
End Sub

thanks

It's a pleasure. Happy coding.:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.