Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

winforms

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)

like image 259
mpen Avatar asked Jun 10 '12 03:06

mpen


1 Answers

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

like image 132
Hans Passant Avatar answered Sep 22 '22 02:09

Hans Passant