CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    30

    How to scroll a MSFlexGrid manually?

    I have a MSFlexGrid and 2 buttons on a form. To scroll the grid, instead of clicking the vertical scrollbar on the MSFlexGrid, I want 2 buttons, buttonUp and buttonDown, to do the control. By clicking buttonUp the grid will scroll up and by clicking buttonDown the grid will scroll down. Is there a way of doing this?

    Thanks in advance.
    Tiffany Chen



  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How to scroll a MSFlexGrid manually?

    Look in the VB Help for the '.TopRow' property of the FlexGrid - this allows you to scroll it manually.

    Chris Eastwood

    CodeGuru - the website for developers
    http://www.codeguru.com/vb

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

Featured