Hi Cetin,
>If I'm not wrong this code would beat some functionality of positioning row correctly in a grid. Hope I'm wrong.
Here's an example:
Your grid is taking up the whol 600x800 or whatever screen. You're only shoing 5 records and your on the first record. If you reOrder the grid (header click ect.) You may see only the one record and about 50 blank rows, then you'll have to scroll up.
My code only affects the grid if more visible (blank or not) rows are available then actaul number of records being displayed. Otherwise the DoScroll isn't touched.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only