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

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » No callback on last row deletion
No callback on last row deletion [message #51391] Tue, 19 March 2019 11:08 Go to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
When deleting rows of an ArrayCtrl by calling ar.Remove(ar.GetCursor()), I usually get a callback on ArrayCtrl::WhenAction. However when the last row is deleted and the ArrayCtrl becomes empty, none of these callbacks seems to be called: WhenAction, WhenArrayAction, WhenCursor. I believe this is a bug, and all of these should have been called, as there are changes to the array, and the cursor as well.
 
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 22:45:48 GMT+2 2026

Total time taken to generate the page: 0.00441 seconds