Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set relativeRow.
Message
From
06/06/2003 11:06:12
 
 
To
06/06/2003 10:36:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00797113
Message ID:
00797279
Views:
15
Hi Cetin,

user : when the horizontal or vertical scroll bars are clicked or a scroll box is moved;

program : call multiple DoScroll.

in this cases ActiveRow not change, but if it go out grid area, relativeRow is 0;

when i refresh or update recordSource, grid put ActiveRow on grid Area.

I want return to past status.

Example:

* cursor with 1000 records
* grid area with exactly 21 rows visible ( no partial row at end )

* recordSource = 'cursor'
* ActiveRow and RelativeRow are 1.
* VisibleRowRange is 1-21

* repeat command DoScroll(3) for 10 times
* ActiveRow = 1
* RelativeRow = 0
* VisibleRowRange is 181-201

* refresh
I want have visibleRowRange 181-201

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform