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 

tooltip on icon

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
egl



Joined: 27 Jun 2006
Posts: 15
Location: Switzerland

PostPosted: Thu Apr 19, 2007 1:05 pm    Post subject: tooltip on icon Reply with quote

hy,

on the GetRowData-handler i set an icon for the row.

Code:
e.RowData.Icon = DrawingHelper.GetIconFromImageList(iconList, 0);


now i want to set the tooltip that occures when the user points over the icon. how can i achieve this?

thanks for your help

regards
jürg
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Apr 19, 2007 10:54 pm    Post subject: Reply with quote

There is no tooltip associated with just the icon. You can however set a tooltip to be displayed when the mouse cursor is over the text in the cell next to the icon. To do this you set the Tooltip property of the CellData in the GetCellData event (or the Tooltip property in the CellBinding if using row bindings). You also need to set the AlwaysDisplayTooTip property to true - otherwise the tooltip is only displayed when the text of the cell doesn't fit the available space.
_________________
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 Support 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