Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OwnerDraw tooltips

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Feature Requests
View previous topic :: View next topic  
Author Message
lvt
Guest





PostPosted: Wed Apr 26, 2006 1:06 pm    Post subject: OwnerDraw tooltips Reply with quote

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

PostPosted: Thu Apr 27, 2006 12:37 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group