mpen
mpen

Reputation: 282845

How to get tooltip to show when mousing over a ToolStripStatusLabel?

I want to show a filename on my status strip, and the full path when the user mouses over it. Here's what I've done:

lblFileName.Text = fi.Name;
lblFileName.ToolTipText = fi.FullName;

But when I mouse over it, the tool tip text never shows up. How come?

(Mousing over "waterfall.png" does nothing)

Upvotes: 23

Views: 7179

Answers (1)

Hans Passant
Hans Passant

Reputation: 941357

Forcing a guess, I'd say that you forgot to set the StatusStrip's ShowItemToolTips to True.

Upvotes: 51

Related Questions