I have a couple of labels in status bar, on which I have set tooltip.
statusLblWeek.Text = weeklyHrs.ToString();
statusLblWeek.ToolTipText = " Consumption of this week " + statusLblWeek.Text;
Status labels are displayed correctly but the tooltip is not showing up. Why?
Use property StatusStrip.ShowItemToolTips
True if ToolTips are shown for the StatusStrip; otherwise, false. The default is false.
statusStrip1.ShowItemToolTips = true;
statusLblWeek.Text = weeklyHrs.ToString();
statusLblWeek.ToolTipText = " Consumption of this week " + statusLblWeek.Text;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.