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: assign default value & WhenAcceptRow
Re: GridCtrl: assign default value & WhenAcceptRow [message #33543 is a reply to message #33542] Mon, 22 August 2011 11:10 Go to previous message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Mon, 22 August 2011 10:32


In WhanAcceptRow callback use grid.CancelAccept()



Thank you, it works (permit me to continue to edit the row and correct it) but how to accept the row and set cancel_accept to false? I cannot move to another row to edit and the application cannot be closed.
I tried grid.Accepting() but no result.

thanks,
Luigi

EDIT: I was silly... just

grid.cancel_accept=false;

at the end of the callback do the job!

[Updated on: Mon, 22 August 2011 11:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl and FileSel.ExecuteOK
Next Topic: GridCtrl and WhenMenuBar
Goto Forum:
  


Current Time: Fri Mar 29 13:13:56 CET 2024

Total time taken to generate the page: 0.01565 seconds