Control of a list/table view form's scroll position.
Posted: Mon Apr 02, 2007 6:37 pm
Would be nice to be able to more precisely control the scroll position of a form in list/table view.
Currently the only method for this is using .selectRecord() / .setSelectedIndex(). This method will select the record, but only scroll until record is at the bottom of the page. As a simple example, would like to be able to add to this so that the record was in the center of the page. A more complicated example would be refreshing an entire foundset from database resets the scroll, therefore losing the user's visual focus.
I've got hackish work around, but it isn't really optimal.
Currently the only method for this is using .selectRecord() / .setSelectedIndex(). This method will select the record, but only scroll until record is at the bottom of the page. As a simple example, would like to be able to add to this so that the record was in the center of the page. A more complicated example would be refreshing an entire foundset from database resets the scroll, therefore losing the user's visual focus.
I've got hackish work around, but it isn't really optimal.