Results 1 to 3 of 3

Thread: [RESOLVED] .Net 4.0 AutoScrollPosition not calling Scroll event??

  1. #1

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,388

    Resolved [RESOLVED] .Net 4.0 AutoScrollPosition not calling Scroll event??

    Is there an event that captures all scroll events a control?

    I ask as according to MSDN:
    Quote Originally Posted by MSDN
    The Scroll event also occurs when you write code, such as setting the AutoScrollPosition property...
    The above is a lie :P... it doesn't trigger the event... just as sizing the control to make it bigger (so the content is forced to move up) also doesn't trigger it.

    Is there any good way to capture the scroll event in all cases without overriding the control and shadowing AutoScrollPosition... and checking on the form size?

    Thanks in advance,
    Kris

  2. #2
    VB For Fun Edgemeal's Avatar
    Join Date
    Sep 2006
    Location
    WindowFromPoint
    Posts
    4,255

    Re: .Net 4.0 AutoScrollPosition not calling Scroll event??

    Didn't you already ask that here?, you never replied so not sure if either solution ever helped.

  3. #3

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,388

    Re: .Net 4.0 AutoScrollPosition not calling Scroll event??

    Quote Originally Posted by Edgemeal View Post
    Didn't you already ask that here?, you never replied so not sure if either solution ever helped.
    Whops ... forgot I posted that 8 months ago :P ...

    And so it appears the suggestion I said was the one to go with

    Thanks
    K

Posting Permissions

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



Click Here to Expand Forum to Full Width