Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set relativeRow.
Message
De
06/06/2003 11:13:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/06/2003 11:06:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00797113
Message ID:
00797285
Vues:
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

Do not refresh then. I still don't understand what you want. Before refresh, visibleRowRange is 181-200 and activeRow = 1, relativeRow=0. So what ? Make row 181 active ? If so activatecell(1,1).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform