Assign new ToolTip instance to ToolStripButton

J

Jesper, Denmark

Hi,

I need some extra funtionality provided by the ToolTip control for a
ToolStripButton.

However I cannot figure out how to assign a ToolTip instance to a
ToolStripButton.

Is there a way of doing this, or can I get a handle to the already contained
ToolTip object.

Thanks.
 
N

Nicholas Paldino [.NET/C# MVP]

Jesper,

You can't assign it to the ToolStripButton directly, but you could
assign the tool tip to the hosting ToolStrip. You would have to add an
event handler for the Popup event on the Tooltip then, and override the
content based on the position of the mouse.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top