Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete new row in grid - not visually updating
Message
From
08/09/1998 13:04:29
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00133631
Message ID:
00134136
Views:
13
>To all who have endured this thread:
>
>Thanks for all the ideas. As my final word - the problem with the grid deletion stems from setting AllowAddNew = .T. - a row added with the downarrow key can be deleted - but the grid will NOT refresh properly - and this deleted row will still be visible.
>
>My best workaround is to set AllowAddNew =.F. and trap the INS key from within the grid and use program code in the keypress event to add new rows. These rows delete properly. It also eliminates the user [or a cat] from leaning on the downarrow key and adding 50 rows to the invoice. Not exactly the "active grid" I had dreamed of for invoicing - but this works.

My users like to use down arrow key. Is it possible to trap the
down arrow instead of Ins ?

How to move to first column after adding row?
AllowAddNew handles this automatically.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform