Results 1 to 3 of 3
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Word97 Listbox Scroll bars

    I think I asked this in another life:


    How do I get horizontal scroll-bars in a Word97SR2/VBE listbox?


    The vertical scrollbar appears at the RHS, but when I populate my listbox with long-path entries (D:greavestrainingwordprocessingword97vbaexamplesF irstexample.doc|Bookmark001) the right-hand end of the text is waay past the side of the listbox.

    From memory the response was something disgustingly simple, but not as obvious as an entry in the Properties box.

    I need this for a demo tomorrow, so there's no rush ....

    Thanks.

  2. #2
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word97 Listbox Scroll bars

    <hr>From memory the response was something disgustingly simple<hr>

    And from memory, I gave you the response.

    Make the Columnwidths property large enough for the longest text. You'll see the scrollbar when you run it, when it's populated with a large list item.
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  3. #3
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word97 Listbox Scroll bars

    Thank you. Your response propelled me into using different column widths, separated by semi-colons.

Posting Permissions

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