Consulting

Results 1 to 2 of 2

Thread: Scroll Wheel in ListBox

  1. #1
    VBAX Newbie
    Joined
    Apr 2005
    Posts
    1
    Location

    Scroll Wheel in ListBox

    Hi All,

    I'm new to this forum, but have been programming in VBA a little while. I have a listbox in a search form that has constant data in it (refreshed periodically with a new search). The list is obviously longer than the box is tall, so I want to know if there is a way for the scroll wheel or arrow keys (both preferably) to scroll through this list box once the box has focus.

    I'm using Acess 2000 and I've currently installed the mousewheel.dll as shown on the Microsoft help pages (can't remember where exactly) so that I do not scroll records. However, even if I turn this off, I still cannot use the scroll wheel to scroll through the listbox.

    I'm trying to avoid using the scroll bars, that's all. I know, kinda petty, but can someone help?

    Thanks!

    Elladan

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    A solution involving a cheap 3rd party activex control at
    http://www.enhanceddatasystems­.com/ED/Pages/ExcelListScrolls­.htm

    Another optyion, the Mabry MouseWheel control and a Windows callback funtion - documented on their site.
    http://www.mabry.com/mwheel/in­dex.htm

    Offered as is.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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