Results 1 to 5 of 5

Thread: Problem with scrolling datagrid

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2002
    Posts
    31

    Problem with scrolling datagrid

    I am loading a few hundred items into a datagrid and when I click on any portion of the row and scroll the grid using my mouse scroll wheel, as soon as the row that was clicked on is out of the visible boundaries of the grid, the mouse scrolling stops! This is very frustrating because what good is the scroller if it is crippled?Does someone know how to correct this?? Many thanks in advance.

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    I had that problem too. This solved my problem: Adding DataGrid1.Focus() to datagrid scroll event.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2002
    Posts
    31
    Man! I thought I had tried that and it didn't work! I spent half a day fighting with that problem. I must have been firing the wrong event. It works great now, thanks for posting your reply!! I'm surprised more folks havn't run into this problem, i scoured the net yesterday.

  4. #4
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    LOL - I came across this too and had the same fix in place

  5. #5
    New Member
    Join Date
    Dec 2003
    Location
    Long Island NY
    Posts
    6
    You ROCK that was bugging the hell out of me.

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