Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another grid BUG
Message
De
09/04/2004 15:22:30
Walter Meester
HoogkarspelPays-Bas
 
 
À
09/04/2004 14:51:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00893652
Message ID:
00893684
Vues:
18
Hi Fabio,

Well, I got that far,

but I don't want to do a tableupdate since the record can be undoed by the user in the GUI.
I don't wan't to disable the index order, since all added records should insert a day order.
I can't change the buffering since I want the users to undo the record in the GUI.

Interestingly you can get arrounbd it in two ways:

1. Use ascending index orders
2. Use following code in the click event
THISFORM.LockScreen = .T.

nHeight = THISFORM.Grid1.height
THISFORM.Grid1.height = THISFORM.Grid1.RowHeight + THISFORM.Grid1.Headerheight

INSERT INTO x (Day) VALUES (DATE()+RECCOUNT("X"))
THISFORM.Refresh

THISFORM.Grid1.height = nHeight 
THISFORM.LockScreen = .F.
But those are not very attractive solutions either.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform