• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

Windows form - information for user

Hi

I am building a Windows for in Visual Studio 2005 and want to include a box which provides
help information for whatever you have clicked on.
Is a rich text box the best way to do this? I don't want the user to be able to update though>

Thanks
0
Murray Brown
Asked:
Murray Brown
  • 3
  • 2
1 Solution
 
sk33v3Commented:
The best way would be to add a tool tip control to your form.
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Hi

Would you mind telling me a bit more on how to do this
0
 
sk33v3Commented:
However if you would like to use the Richtextbox because of its formatting ability or to have a constant help box then setting the follwoing settings will allow you create the desired affect I believe.

        Me.RichTextBox1.BorderStyle = BorderStyle.None
        Me.RichTextBox1.Enabled = False
        Me.RichTextBox1.Text = "This is a test of the richtextbox"

Doing it this way you would need to put this line in every on focus command of every control on the form

        Me.RichTextBox1.Text = "This is a test of the richtextbox"
0
 
sk33v3Commented:
Over in the tool tray drag a tooltip control to your form. Then within the control you want the tooltip to pop up on you sent the tool tip control property to the tooltip control you just made.
 here is a link that sort of talks about tooltips

http://www.startvbdotnet.com/controls/tooltip.aspx
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now