Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Scrolling Programmatically

I have a table, which is close to full screen.
I click a button on my form and resize the table so that the screen is split in two, with the lower section of the screen having a property panel.

When doing so the line on the table in the top part of the screen may no longer be visible, for example, it may be line 20, and the split of the screen might now show lines 1-15, so 20 is hidden.

I am trying to programmatically scroll so that a specific line is visible.
I tried ScrollPos, but could not get it to do much.
Is there a methodology to force a specific row to be visible, or should I just pursue with ScrollPos

Colin

Comments

  • Further to this, in the previous SRP version, ScrollPos was being used to scroll to a specific position.
    This seems to no longer operate in the current version, but SelPos does do it.
  • Some of the code for ScrollPos got mysteriously deleted with the last release. ScrollPos will work as advertised in the next release.
Sign In or Register to comment.