CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    9

    Horizontal scrollbar in Combox Box

    In Javascripting is it possible to place Horizontal scrollbar in ComboxBox,
    if Yes,
    Can u please give me with example code

    Thanking You friends
    ever Reddyrams

  2. #2

    Re: Horizontal scrollbar in Combox Box

    Do you have some example where this is done, because i've never seen this before, and i really don't know how could do it...

    If you want the scroll bar because the text is larger than the combobox itself, then i suggest you place a tooltip on each item of the combobox by using TITLE on each tag <OPTION>. That will ease the reading of a large content.
    Last edited by davidc2p; February 9th, 2007 at 08:47 AM.
    David Domingues at [email protected]. Feel free to visit http://www.webrickco.com

  3. #3
    Join Date
    May 2002
    Posts
    10,943

    Re: Horizontal scrollbar in Combox Box

    Quote Originally Posted by Reddyrams
    In Javascripting is it possible to place Horizontal scrollbar in ComboxBox...
    Why do you need one? Unless you have altered the <select> tag with stylesheets, when dropping down, it should show the whole width of the longest string contained. If you are attempting to size it, then you can't add horizontal scrollbars unless you code your own version of a <select> tag using <div> tags.

    My two cents: horizontal scrollbars would just look ugly and would be more annoying to have to scroll left and right.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured