Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid deleted event in VFP6
Message
From
27/09/1999 13:28:22
 
 
To
27/09/1999 11:36:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00269332
Message ID:
00269467
Views:
19
Thanks John,
I didn't have subscription to Foxtalk (until 15 mins ago). I would really like to read that article; may have to buy a copy of the article. Putting Grid.Refresh in Deleted doesn't fix prob. It seems that the actual record delete doesn't occur until after exiting the Deleted event method. I may have to rethink using the grid delete column if there's no way to set up a delete/recall button caption based on current record status.
Thanks for the info, though. It's nice to find out that FoxTalk is still being published.
Bill


>There was an article about this sort of behavior in the September FoxTalk. Try putting a Grid.Refresh() in the Deleted event.
>
>
>>I want to know the deleted() status of a record viewed in a grid. I put "if deleted()..." code behind the afterRowColChange event and the status is correctly reported for the record that is moved to.
>>
>>The problem is when user deletes the current record. Putting the same "if deleted()..." code behind the deleted event seems to relate only to the prior status of the current record, or to the prior record's status when pointer moves to a new record. I can't get the correct deleted() status shown by the grid's delete bar when user deletes the current record in the grid's delete bar.
>>
>>Is there a fool-proof way to get deleted() status for the current row no matter how the user deletes and navigates in the grid? I am really stumped!
>>
>>Thanks in advance,
>>Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform