|
-
Oct 7th, 2002, 08:56 AM
#1
Thread Starter
New Member
how to make sure a datagrid row is visible?
i have a datagrid that is bound to a dataview. at a certain point i find a specific row in the dataview and make the corresponding row in the grid selected (datagrid.selected = idx). but this row may be number 1000, and my grid shows rows 34 to 50...
How can i scroll the grid so that the selected row is visible (or even better - becomes the top row in the grid)?
-
Oct 8th, 2002, 12:44 AM
#2
New Member
When you select a row,you can bookmark the row using the recordset.bookmark. So when you resize or minimize the record pointer will still be pointing to the same row. Store the bookmark in global variable when you a select a row. So when you close the form and open again, now set the bookmark to the global variable. The selected row now available in the view portion.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|