Link to home
Start Free TrialLog in
Avatar of gregasm
gregasm

asked on

Popup panel or tooltip

Hi,

I want to popup a panel on the mousehover event of a listbox on a winform. The panel should appear where the mouse is, and it should contain as many lines as items in the listbox control.

I am also open to a tooltip implementation as well, but the tooltip may be a little too cutesy for my requirement. Besides, tooltip is not multilined, right?

Well any suggestions are appreciated.

Thanks! =]
ASKER CERTIFIED SOLUTION
Avatar of Mikal613
Mikal613
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gregasm
gregasm

ASKER

Thanks guys. The answers are good quality.

I had a listbox that might display more items than it can visibly display when initialized to its default height. This is why I wanted to use a tooltip.

In the end, I ended up dynamically resizing the listbox based on the number of items it contains. It is a more elegant approach in this particular scenario, but if I ever need specialized tooltips, I know where to go.

Thanks.