ToolTip on controls in User Control

0
0

I created a user control for reuse to generate a menu. I dropped a ToolTip on it – ToolTip shows up in the properties of the controls in my user control.

How do I assign the text dynamically at run time ? There appears to be no property available.

  • You must to post comments
0
0

Hi Edmond,

you can call toolTip.SetToolTip (<control>, <tip text>) to set the tooltip text for a control.

Best regards
Frank

  • edmond girardi
    Perfect this works out better since I don’t have to add a tooltip control to the user control thus creating one for every menu item. I just set the tool tip as I add the user controls to the panel.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.