J
JezB
I'm trying to set the tooltip text for various controls at the time it's
needed (rather than being set during form startup). I'm subscribing to the
ToolTip control's Popup event and setting the tooltip text for the
associated control. Something like :-
private void acToolTip_Popup(object sender, PopupEventArgs e)
{
Control ac = e.AssociatedControl;
string tooltiptext = .... (etc) (etc) ;
acToolTip.SetToolTip(ac, tooltiptext);
acToolTip.Active = true;
}
Problem is, the tooltip text that is actually showing is the text set the
LAST TIME it was set, not this time, so I have to leave the control and go
back in again to see the text that was configured this time, if that makes
sense to anyone.
What can I do ?
needed (rather than being set during form startup). I'm subscribing to the
ToolTip control's Popup event and setting the tooltip text for the
associated control. Something like :-
private void acToolTip_Popup(object sender, PopupEventArgs e)
{
Control ac = e.AssociatedControl;
string tooltiptext = .... (etc) (etc) ;
acToolTip.SetToolTip(ac, tooltiptext);
acToolTip.Active = true;
}
Problem is, the tooltip text that is actually showing is the text set the
LAST TIME it was set, not this time, so I have to leave the control and go
back in again to see the text that was configured this time, if that makes
sense to anyone.
What can I do ?