Krypton-Suite-Legacy-Archive / Krypton-NET-5.470

A update to Component factory's krypton toolkit to support the .NET 4.7 framework.
BSD 3-Clause "New" or "Revised" License
78 stars 20 forks source link

Krypton ToolTip Usage #164

Open PWagner1 opened 5 years ago

PWagner1 commented 5 years ago

Hi @Smurf-IV

I was wondering if it was possible to use Krypton Tooltips on controls outside of this toolkit version, i.e. for use in the Extended version, or do I need to implement it on every control, like what you've done here?

Smurf-IV commented 5 years ago

If the extensions can derive from VisualControlBase (Or have it in the heirarchy somewhere) then they will get the Tooltip with that. They will also get the palette controls and KryptonContextMenu etc.

To implement separately, would require mouse tracking, and implementing the OnShowToolTip, OnCancelToolTip, OnVisualPopupToolTipDisposed methods.

PWagner1 commented 5 years ago

I'll look into mouse tracking, as it's for the palette editor app. Maybe for a future update.