10-14-2008 05:54 AM
Solved! Go to Solution.
10-14-2008 06:05 AM - edited 10-14-2008 06:06 AM
10-14-2008 06:12 AM
10-14-2008 06:14 AM
If the listbox's no. of items are finite & less (say 20), you can store the messages in a string array constant & index it as per the row no. when the mouse is hovered (moved) over the listbox.
I think this should work. Please post back your findings here...
10-14-2008 06:38 AM
10-14-2008 08:35 AM
Hi,
You can try this,
Get the following properties from te listbox
- ContentRectPos
- ContentRectBounds
- CelHeight
Create a eventloop with listbox: mouseMove
Get position from the mouse by using coords available inside eventloop
With this information you determine on which item the mouse is over.
and do what ever you want.
Regards
Fred
10-14-2008 09:03 AM
10-14-2008 09:05 AM
As the String I would use the 'tip strip'.
Have a look at the VI package manager (which has a brilliant GUI): They use the tip strip (I guess) to display the full text of an itemin the mult-column-listbox when it's not fully displayed. There was a thread on this forum where one of the main developers shared a lot of tricks. (Can't find it right now).
Felix
10-14-2008 09:17 AM