Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record pointer not moving properly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00942906
Message ID:
00943047
Vues:
18
Ok, what happens if just before your refresh of the grid you put:
lnrecno = RECNO('main')              && or whatever the grid's recordsource is
thisform.pgframe.pg3.grid1.refresh() && or whatever and where-ever it is
IF recno('main')<>lnrecno
    GOTO lnrecno IN MAIN
ENDIF
>The List tab (fourth and lat tab on this pageframe) is where record navigation occurs. The first tab is where data entry/editing occurs. So, yes, changes and adds do occur when the grid on the List tab does not have focus. When the user clicks back on the List tab, one of the things I do is refresh the grid on that tab. The record pointer is ok, but as soon as the grid is refreshed, it moves. That never happened under VFP 7 or prior.
>
>
>>Why are you refreshing the grid there? Are you adding, modifying, or deleting records to the table in the grid when focus is off the grid?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform