How do I add a ToolTip to a control?

前端 未结 6 1428
时光说笑
时光说笑 2020-11-30 20:50

I have some controls that I would like to display a ToolTip for when the mouse is hovering over it. How can I do this? I would like to know how to do this prope

6条回答
  •  余生分开走
    2020-11-30 21:13

    Drag a tooltip control from the toolbox onto your form. You don't really need to give it any properties other than a name. Then, in the properties of the control you wish to have a tooltip on, look for a new property with the name of the tooltip control you just added. It will by default give you a tooltip when the cursor hovers the control.

提交回复
热议问题