Results 1 to 2 of 2

Thread: scrolling in msflexgrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    1

    scrolling in msflexgrid

    hello,

    i am using msflexgrid control to show data arriving from com port. Wheneven new data arrives, a row is added. If .row > .rows-1, .rows is incremented. Thus a new row is added for every incoming data. Scroll Bars automatically appear when rows are more than the display size.

    Help needed :- If the user scrolls up for viewing the data in the flexgrid using the scroll bar, and when new data arrives, the last row should be visible and the scrollbar should automatically scroll down to the last row on every incoming data.

    Please help. Thanx in advance.

  2. #2
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: scrolling in msflexgrid

    Welcome to the Forums

    When new data arrives do..
    Code:
        MSFlexgrid1.TopRow = .Rows - 1

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