I can't reproduce your first problem, but you can solve #2 (which I can
replicate), by setting the tooltip to inactive before you change it, and
then reactivating it. Using your code snippet, it would read:
// Construct the help from the information about the ammo type
// currently selected.
this.helpProvider1.SetHelpString(this.cboHEAT, <A bunch of stuff >)
this.toolTip1.Active = false;
this.toolTip1.SetToolTip(this.cboHEAT,
helpProvider1.GetHelpString(this.cboHEAT));
this.toolTip1.Active = true;
> I am setting the helpstring for all interesting controls to a default in the
> form load method. I am then using the SelectedIndexChanged of a combobox to
[quoted text clipped - 17 lines]
> this.toolTip1.SetToolTip(this.cboHEAT,
> helpProvider1.GetHelpString(this.cboHEAT));
Byron - 29 Apr 2005 20:16 GMT
Thanks for the reply. Your suggestion worked as advertised. I did something
like that before without success, but I can't remember what it was and it
apparentky wasn't what you suggested.
I still have the first problem, so if anybody else has any ideas let me know
please.
> I can't reproduce your first problem, but you can solve #2 (which I can
> replicate), by setting the tooltip to inactive before you change it, and
[quoted text clipped - 32 lines]
> > this.toolTip1.SetToolTip(this.cboHEAT,
> > helpProvider1.GetHelpString(this.cboHEAT));
durstin - 30 Apr 2005 01:05 GMT
Try changing your <A bunch of stuff> into something simple, like the
cboHeat.SelectedIndex.ToString(). This will tell you whether the problem is
in your bunch of stuff...
> Thanks for the reply. Your suggestion worked as advertised. I did something
> like that before without success, but I can't remember what it was and it
[quoted text clipped - 39 lines]
> > > this.toolTip1.SetToolTip(this.cboHEAT,
> > > helpProvider1.GetHelpString(this.cboHEAT));