Home All Groups Group Topic Archive Search About

Tooltip for listbox and combobox

Author
1 Jul 2005 9:13 AM
Microsoft
Hi,

I would like to use tooltip for listbox and also for combobox.

how can I do that?

Thank,

Eyal

Author
1 Jul 2005 3:02 PM
Peter Blum
While HTML supports the title attribute on the <select> tag, IE doesn't
support it. The ListBox and DropDownList controls in IE were implemented in
a strange way - as separate windows - and that prevents the tooltip from
working. If  you can live with the tooltips only on other browsers, do this:
ListBox1.Attributes.Add("title", "description")

--- Peter Blum
www.PeterBlum.com
Email: PLB***@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

Show quoteHide quote
"Microsoft" <n***@012.net.il> wrote in message
news:uVWIcShfFHA.3588@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I would like to use tooltip for listbox and also for combobox.
>
> how can I do that?
>
> Thank,
>
> Eyal
>
>