I have created a ListBox control on a form; the RowSourceType for the ListBox is an Alias.
Due to limited real-estate, the ListBox may not be wide enough for some of the larger values. I want to display the full text of the option currently under the mouse, a la ToolTipText.
I've tried setting the ToolTipText to a variety of things, and generally did not get anything, though sometimes I got something unintentional. I've also toyed with setting the ToolTipText dynamically in the MouseMove method to the ListBox.Value; trouble is, the item under the mouse may not be the value of the control if you haven't clicked it.
Is there a way to have the ToolTipText display the contents of the item under the mouse in a ListBox? [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]
Due to limited real-estate, the ListBox may not be wide enough for some of the larger values. I want to display the full text of the option currently under the mouse, a la ToolTipText.
I've tried setting the ToolTipText to a variety of things, and generally did not get anything, though sometimes I got something unintentional. I've also toyed with setting the ToolTipText dynamically in the MouseMove method to the ListBox.Value; trouble is, the item under the mouse may not be the value of the control if you haven't clicked it.
Is there a way to have the ToolTipText display the contents of the item under the mouse in a ListBox? [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]