Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl paste and WhenAction
GridCtrl paste and WhenAction [message #31928] Fri, 08 April 2011 09:24 Go to next message
koldo is currently offline  koldo
Messages: 2990
Registered: August 2008
Veteran
Hello Daniel

Now when pasting on a GridCtrl no callback is called.

I think it would be reasonable that WhenAction() would be called.

To to it just add a WhenAction(); in line 909 of method void GridCtrl::Paste(int mode)


Best regards
Iñaki
Re: GridCtrl paste and WhenAction [message #32966 is a reply to message #31928] Sun, 26 June 2011 13:15 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1354
Registered: November 2005
Location: Poland
Senior Contributor

koldo wrote on Fri, 08 April 2011 03:24

Hello Daniel

Now when pasting on a GridCtrl no callback is called.

I think it would be reasonable that WhenAction() would be called.

To to it just add a WhenAction(); in line 909 of method void GridCtrl::Paste(int mode)


WhenInsertRow/WhenUpdateRow is called for each pasted row and WhenPasteCell for each pasted cell. Why do you need WhenAction?
Re: GridCtrl paste and WhenAction [message #32972 is a reply to message #32966] Mon, 27 June 2011 08:48 Go to previous message
koldo is currently offline  koldo
Messages: 2990
Registered: August 2008
Veteran
Sorry Daniel

In that moment I did not find the Callback for pasting.


Best regards
Iñaki
Previous Topic: GridCtrl: detecting a change of a search string
Next Topic: DropGrid, DropTree dynamic update.
Goto Forum:
  


Current Time: Fri Sep 20 01:53:29 CEST 2019

Total time taken to generate the page: 0.01043 seconds