View previous topic :: View next topic |
Author |
Message |
lvt Guest
|
Posted: Wed Apr 26, 2006 1:06 pm Post subject: OwnerDraw tooltips |
|
|
Is it possible to set owner draw tooltips for the nodes in the virtual treeview by doing the following
toolTip.SetToolTip(vtCategory, "Test");
toolTip.OwnerDraw = true;
toolTip.Draw += new DrawToolTipEventHandler(relatedToToolTip_Draw);
toolTip.Popup += new PopupEventHandler(relatedToToolTip_Popup);
like it is for the standard treeview? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Apr 27, 2006 12:37 am Post subject: |
|
|
Yes you can do this. Simply add a Tooltip component to the form containing VirtualTree and set the OwnerDraw and event properties. Then to get Virtual Tree to use this Tooltip component set the TooltipComponent property of VirtualTree. _________________ Infralution Support |
|
Back to top |
|
|
|