I have some code that changes the size of a datagrid control. When the control shrinks, I want to make sure that a row that might have been selected while the grid was larger is still visible when it is shrunk.
The documentation suggests that setting the FirstRow property to a valid bookmark (i.e. of the most recently selected row) should do the trick but I continually get an 'Invalid Bookmark' error message.
Any ideas?
Thanks in advance.
The documentation suggests that setting the FirstRow property to a valid bookmark (i.e. of the most recently selected row) should do the trick but I continually get an 'Invalid Bookmark' error message.
Any ideas?
Thanks in advance.