Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving to a new row in a grid
Message
De
15/05/2001 09:46:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00507094
Message ID:
00507244
Vues:
9
Vlad,
Agree it's not reliable or say slow and needs grid has focus. OTOH I think you mixed it with relativerow :) It's the row number of all visible+invisible rows. And yes it would change in cases like reordering.
Cetin

>Hi!
>
>Active row is not reliable. It is the row number in visible prtion of records. So, when grid is scrolled, records are shifted and the same active row points to another record. Scrolling by 1 row in grid thus causes a problem.
>
>>Hi Nadya,
>>
>>Thanks for your response. Is there any downside to testing the active row instead of the recno().
>>
>>The way I've currently got it the app working is to put the current active row into a variable in the valid. Then in the gotfocus, I test whether the new active row is equal to the variable.
>>
>>Mitch
Ç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