View previous topic :: View next topic |
Author |
Message |
egl
Joined: 27 Jun 2006 Posts: 15 Location: Switzerland
|
Posted: Thu Apr 19, 2007 1:05 pm Post subject: tooltip on icon |
|
|
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 |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Apr 19, 2007 10:54 pm Post subject: |
|
|
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 |
|
|
|