Results 1 to 4 of 4

Thread: Highlight DataGrid Row and use Mouse Scroll Wheel on DataGrid

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    239

    Wink Highlight DataGrid Row and use Mouse Scroll Wheel on DataGrid

    How to Highlight a DataGrid Row and Use Mouse Wheel to Scroll in a DataGrid

    There are two features demonstrated in this program.

    NB! Please follow these directions in order to see the correct results.

    First is how to programmatically highlight a row in a DataGrid.

    1. To have the appropriate DataGrid Row become highlighted, simply
    input a last name (use Martin) in the first TextBox and click the
    “Highlight Grid” Command Button. You will obtain the desired result.

    2. Next Click the Clear Command button then select the
    “Find and Highlight Selected Grid Item” Command Button,
    and input a last name in the Input Dialog Box (type in Jones)

    The next feature is using the Mouse Scroll Wheel to navigate the DataGrid itself..

    3. When the program starts there is red right arrow in the upper left
    corner of the DataGrid. In order to use the Mouse Scroll Button the
    DataGrid must have the focus, to do this click on this Red Arrow.
    This action will highlight the first row of the Grid and now you can
    Use the Mouse Scroll Wheel to navigate the Grid.

    John P. Cunningham
    3/22/2010
    Attached Files Attached Files

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