Hey friend,
Do you have some code about tooltip and listbox?
Thanks
Victor
ToolTip and ListBox
Hi!
Some months ago I've written a listbox class that displays a tooltip for truncated items in VB.net. The VB6 version of the tooltip class used by it is available for download now. The VB.net version is a bit out of date. I'll upload it together with the listbox class as soon as I've updated it.
/edit: Damn, I just noticed that I no longer have the code. I've probably deleted it by accident. However, I remember how to do this, so I'll prepare a small VB6 sample.
TiKu
Some months ago I've written a listbox class that displays a tooltip for truncated items in VB.net. The VB6 version of the tooltip class used by it is available for download now. The VB.net version is a bit out of date. I'll upload it together with the listbox class as soon as I've updated it.
/edit: Damn, I just noticed that I no longer have the code. I've probably deleted it by accident. However, I remember how to do this, so I'll prepare a small VB6 sample.
TiKu
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!
Here's a VB6 sample that demonstrates how to display a tooltip for listbox items that are too wide for the listbox and therefore get truncated.
- Attachments
-
- ListBoxToolTips.zip
- (34.63 KiB) Downloaded 734 times
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!
Hi TiKu...
Hi friend, sorry for my english i'm italian.TiKu wrote:Hi!
Some months ago I've written a listbox class that displays a tooltip for truncated items in VB.net. The VB6 version of the tooltip class used by it is available for download now. The VB.net version is a bit out of date. I'll upload it together with the listbox class as soon as I've updated it.
/edit: Damn, I just noticed that I no longer have the code. I've probably deleted it by accident. However, I remember how to do this, so I'll prepare a small VB6 sample.
TiKu
Is possible to use your code to have the same effect on item in combobox in a userform of Excel project?
Tks from Napoli.
Last edited by SAL21 on 25 Feb 2008, 13:39, edited 1 time in total.
Hi TiKu...
Hi friend, sorry for my english i'm italian.TiKu wrote:Hi!
Some months ago I've written a listbox class that displays a tooltip for truncated items in VB.net. The VB6 version of the tooltip class used by it is available for download now. The VB.net version is a bit out of date. I'll upload it together with the listbox class as soon as I've updated it.
/edit: Damn, I just noticed that I no longer have the code. I've probably deleted it by accident. However, I remember how to do this, so I'll prepare a small VB6 sample.
TiKu
Is possible to use your code to have the same effect on item in combobox in a userform of Excel project?
Tks from Napoli.
Hi,
not out of the box. I got it some kind of working in VB.net long time ago. The tooltip was displayed at the bottom of the combo's drop-down list. It seems to be impossible to display the tooltip on top of the drop-down list.
I don't have the time to port this code to VB6 or even VBA (I don't use MS Office). I've attached the VB.net version.
not out of the box. I got it some kind of working in VB.net long time ago. The tooltip was displayed at the bottom of the combo's drop-down list. It seems to be impossible to display the tooltip on top of the drop-down list.
I don't have the time to port this code to VB6 or even VBA (I don't use MS Office). I've attached the VB.net version.
- Attachments
-
- ListBoxToolTip.zip
- VB.net classes to provide tooltips for truncated listbox and combobox items.
- (48.54 KiB) Downloaded 538 times
Last edited by TiKu on 27 Feb 2008, 10:48, edited 1 time in total.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!
Tks, many tks.TiKu wrote:Hi,
not out of the box. I got it some kind of working in VB.net long time ago. The tooltip was displayed at the bottom of the combox's drop-down list. It seems to be impossible to display the tooltip on top of the drop-down list.
I don't have the time to port this code to VB6 or even VBA (I don't use MS Office). I've attached the VB.net version.
Sal.