Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reset column and row in a grid.
Message
De
08/08/2005 18:42:02
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
08/08/2005 13:15:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01039115
Message ID:
01039426
Vues:
23
Dan,

setting focus to the grid should leave you in the same place. If not you can look at the grids activateCell() method.



>If the cursor is on the 10th row and the 5th column.
>How do I save and restore the cursor to that position?
>
>>Hi Dan,
>>
>>This is what I do.
>>
>>
>>save current row in view
>>thisform.lockscreen = .t.
>>requery view
>>refresh grid
>>thisform.lockscreen = .f.
>>
>>
>>
>>>We have a grid that is based on a view which will have row buffering set.
>>>Multiple people will have access to add & edit to this grid.
>>>We need this grid to be as real time as possible.
>>>
>>>But, we would like to keep the user in the same cell and row in the grid with the least amount of "screen flicker" as the view is being requeried.
>>>
>>>What is the best way to accomplish this?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform