Avatar of Victor  Charles
Victor Charles
Flag for United States of America asked on

Help with displaing field definition when placing cursor on a row of a listbox using VB.NET

Hi,

When I place the cursor on a row of my listbox I need to display the defnition of the field, for example If I place my cursor on a row containing TV, would like too see a tooltip with the word television.

Thanks,

Victor
Visual Basic.NET.NET Programming

Avatar of undefined
Last Comment
Fernando Soto

8/22/2022 - Mon
Fernando Soto

Hi Victor;

So where are you getting the "definition" to display in the tooltip?
Victor Charles

ASKER
Hi Fernando,

I would like the hardcode the definition.

Thanks,

Victor
ASKER CERTIFIED SOLUTION
Fernando Soto

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Victor Charles

ASKER
Hi Fernando,

Thanks for the code. How do you modify it to work when I place the mouse on the row? not select the row.

Thanks,

Victor
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Fernando Soto

You can't because the ToolTip control is attached to a control and not to a collection.
Victor Charles

ASKER
Ok. Thanks.
Fernando Soto

Not a problem Victor, glad to help.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.