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. AutoScroll jumping to 0

AutoScroll jumping to 0

Scheduled Pinned Locked Moved C#
helpquestion
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.
  • S Offline
    S Offline
    S O S
    wrote on last edited by
    #1

    I have a window with AutoScroll set to true, but I seem to have some odd problem wtih it. Whenever the window gets focus, the scrollbars jump to 0. How can I fix this?

    M 1 Reply Last reply
    0
    • S S O S

      I have a window with AutoScroll set to true, but I seem to have some odd problem wtih it. Whenever the window gets focus, the scrollbars jump to 0. How can I fix this?

      M Offline
      M Offline
      misterbear
      wrote on last edited by
      #2

      There is a property called AutoScrollPosition which contains the offset of the scrollwindow. I guess you have to manually account for this all the time... But I really don't know cause I have the same problem. If you find a good solution please let me know...

      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