U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » No callback on last row deletion
Re: No callback on last row deletion [message #51496 is a reply to message #51391] Thu, 04 April 2019 23:19 Go to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
WhenAction in general is (or should be) only triggered when the action is caused by user interaction.

WhenCursor is deprecated in favor of WhenSel, which should report all changes to cursor or selection.

Anyway, WhenArrayAction is defined to trigger when data of ArrayCtrl are changed by any means. I have tried to fix it in that direction. (Frankly, I have scanned all of my codebase and found only two uses of WhenArrayAction. But you are right that it should work that way).

Now in trunk.

Mirek
 
Read Message
Read Message
Previous Topic: Please Remove BUG in DataGrid
Next Topic: ArrayCtrl::Paint is called three times
Goto Forum:
  


Current Time: Sat Apr 25 19:14:37 GMT+2 2026

Total time taken to generate the page: 0.00527 seconds