Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why won't deleted method fire?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00490682
Message ID:
00490957
Views:
9
>>>Using vfp5...
>>>
>>>I have a grid on a form that I want the deleted event to fire on. I have
>>>a command button that does...
>>>
>>>
>>>select childtable
>>>delete
>>>thisform.refresh
>>>
>>>
>>>If I click the deletemark the deleted event will fire but using the
>>>command button code it will not. Any ideas?
>>
>>Joe,
>>
>>This problem discussed here couple of times. The answer is to propagate record movement in a grid, say, skip -1, skip or something similar.
>
>In grid.deleted...
>
>=messagebox('test')
>
>This never fires even if I skip -1 or skip.

Joe,

I should read your message more carefully :) Deleted method of the grid fires only when you click on DeleteMark in a grid. It would not fire, if you use DELETE command in a code.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform