Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffered grid source auto-reverts (vfp5)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00180877
Message ID:
00180940
Vues:
18
>I have an editable one-column textbox in grid with buffered (table opt) table source. Basically just an editable "list box" with Add/Delete capability. Mostly works okay...
>
>However, when a already-existing cell is selected, and an edit is made, any keyboard/cursor move (even just up/down arrow), and the cell reverts back to text before the edit was made. There isn't any code that would fire a tablerevert() on just a cell-to-cell movement.
>When adding or deleting a record, all works fine...It's similar to the problem where a click on a page background reverts an edit in a buffered textbox, which required special code to fix.
>
>Anyone heard of this? I've had to remove buffering to get it working for the time being...

Problem worked-around: I used the old standby in the cell Lostfocus:

This.value = This.value

Evidently this pushes the data into the buffer...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform