Is there a way to determine which cells have been affected by a paste operation? I’d like to perform some validation, but OnAfterPasteFromClipboard does not provide extra information (neither does OnBeforePasteFromClipboard).
By the way, what does ACanShow mean in OnBeforePasteFromClipboard? I guess it controls whether pasting is allowed or not, right? Why “CanShow” instead of “CanPaste”, or does it have a distinct functionality?
Talking about manual changes, is OnAfterCloseInplaceEditor the right event to process changes, regardless of whether it’s a native or custom inplace editor? OnCellEditValidateData will always be fired right before closing any kind of inplace editor, right?
You are correct, we changed the ACanShow to ACanExecute, it basically prevents the action (copy, paste) from executing.
Either way, you've detected a bug, the OnLoadCellData (PasteFromClipboard) & OnSaveCellData (CopyToClipboard / CutToClipboard) should trigger when performing the action, allowing you to know which cells are manipulated. We'll connect the events to clipboard actions. Next version of the TMS FNC UI Pack will have this fixed. Thanks for reporting!
Correct, OnAfterCloseInplaceEditor is the event that is triggered after all other edit actions are done. You can use this event regardless of the type of editor. OnCellEditValidateData will allow you to accept or block the value from being saved into the cell. This event is indeed triggered before the OnAfterCloseInplaceEditor.