Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quirky Grid-Tablerevert() causes empty grid
Message
De
10/12/1999 03:32:04
 
 
À
07/12/1999 18:44:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00299387
Message ID:
00301558
Vues:
33
Hi Peter,

>> Debugging does not get me anywhere, ´cause during debugging this does not happen. <<

Doncha just HATE when that happens ;-) The reasone it probably works when you are using the debigger is that the process of debugging causes focus to leave the grid and return to the grid. I would guess that what happens is that setting focus to the grid re-synchronizes the cursor that controls what is in its visible proption.

>> That´s the problem. In the meantime I´ve figured something out that works.

A KEYBOARD "{UpArrow}" right after the TABLEREVERT seems to do the trick. <<

This would tend to support what I said above. Since my data entry grid class routinely reverts records that the user is in the process of adding (instead of deleting them), what I generally do after the record is either deleted or reverted is to move the record pointer and setfocus to the active column.

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform