User Tag List

Results 1 to 8 of 8

Thread: scroll trough list with mouse wheel

  1. #1
    Clicker Fusion 2.5 Developer
    JohnZ's Avatar
    Join Date
    Jul 2006
    Posts
    140
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    scroll trough list with mouse wheel

    How do I scroll through the contents of a listbox with the mouse wheel.

    The info returned from the mouse wheel when rolled is either 120 or -120.

    What's the best way to scroll through the contents of a list, bearing in mind the number of items in the list will vary?

    Cheers
    John

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: scroll trough list with mouse wheel

    Try this:



    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Clicker Fusion 2.5 Developer
    JohnZ's Avatar
    Join Date
    Jul 2006
    Posts
    140
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: scroll trough list with mouse wheel

    Hi thanks for your reply
    does it work for you? It doesn't for me
    Cheers
    John

  4. #4
    Clicker Fusion 2.5 Developer
    JohnZ's Avatar
    Join Date
    Jul 2006
    Posts
    140
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: scroll trough list with mouse wheel

    Hey, igonore my previous, it neesds both lines of code to work, I only tried up!
    Thanks so much

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: scroll trough list with mouse wheel

    No problem.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  6. #6
    Clicker Fusion 2.5 Developer
    JohnZ's Avatar
    Join Date
    Jul 2006
    Posts
    140
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: scroll trough list with mouse wheel

    The problem I have now is that if I select an entry in the list, the code stops working. This seems to be something to do with the scroll bar being hidden. This also happens if I navigate away to Rich Edit box.

    Any ideas?
    Cheers
    John

  7. #7
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: scroll trough list with mouse wheel

    Might be to do with the focus. Try adding this event;

    + Selection Changes
    - Lose Focus

  8. #8
    Clicker Fusion 2.5 Developer
    JohnZ's Avatar
    Join Date
    Jul 2006
    Posts
    140
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: scroll trough list with mouse wheel

    works perfectly, thanks

Similar Threads

  1. Scroll wheel
    By TotallyTurton in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd April 2021, 12:14 PM
  2. [Suggestion] Mouse Wheel & Middle Mouse
    By izac in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th May 2009, 12:39 PM
  3. Mouse Wheel?
    By workshop2 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th December 2007, 04:11 AM
  4. Help with Mouse Wheel in Build 244
    By Jaeu in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th April 2007, 08:19 PM
  5. possible to detect mouse wheel scroll-up/down?
    By integrality in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 3rd January 2007, 09:02 AM

Posting Permissions

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