Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. continuous scrolling [custom controls]

continuous scrolling [custom controls]

Scheduled Pinned Locked Moved C#
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kkadir
    wrote on last edited by
    #1

    i have created a custom scroll bar, and implemented the mousedown, mouseup etc. events. But -for instance- when i click and hold the down arrow the scrollbar value changes only once. any ideas how to make the scrollbar scroll continuously when i click and hold up/down arrow ? :confused: best regards...

    .:: Something is Wrong ::.

    J 1 Reply Last reply
    0
    • K kkadir

      i have created a custom scroll bar, and implemented the mousedown, mouseup etc. events. But -for instance- when i click and hold the down arrow the scrollbar value changes only once. any ideas how to make the scrollbar scroll continuously when i click and hold up/down arrow ? :confused: best regards...

      .:: Something is Wrong ::.

      J Offline
      J Offline
      jjansen
      wrote on last edited by
      #2

      You could try using a Timer. Start it when the mouse button is pressed and with every tick of the timer (perhaps after a delay) you change the scroll value a little. Stop the timer when the mouse button is released.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups