Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another grid BUG
Message
From
09/04/2004 15:22:30
Walter Meester
HoogkarspelNetherlands
 
 
To
09/04/2004 14:51:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00893652
Message ID:
00893684
Views:
25
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform