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 » ArrayCtrl and accept row
ArrayCtrl and accept row [message #33537] Mon, 22 August 2011 00:03 Go to next message
forlano is currently offline  forlano
Messages: 1064
Registered: March 2006
Location: Italy
Experienced Contributor
Hello,

I've an ArrayCtrl with several ctrls in the row embedded via .Edit().
When a row is being edited the left click on any row different by that edited provocate the accepting of the data and the insertion finish.

Now I would like to prevent that the mouse left click produce the end of the editing. Instead the row editing must finish only pressing some button, let's say btnAccept. Only with this button the data are going to be accepted (and eventually checked). Is it possible? How to perform this task?

Thanks,
Luigi

[Updated on: Mon, 22 August 2011 00:50]

Report message to a moderator

Re: ArrayCtrl and accept row [message #33597 is a reply to message #33537] Sun, 28 August 2011 19:26 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12022
Registered: November 2005
Ultimate Member
forlano wrote on Sun, 21 August 2011 18:03

Hello,

I've an ArrayCtrl with several ctrls in the row embedded via .Edit().
When a row is being edited the left click on any row different by that edited provocate the accepting of the data and the insertion finish.

Now I would like to prevent that the mouse left click produce the end of the editing. Instead the row editing must finish only pressing some button, let's say btnAccept. Only with this button the data are going to be accepted (and eventually checked). Is it possible? How to perform this task?

Thanks,
Luigi




It is not yet possible.

I can add this, but before I do, I have to say that in such case I see as better solution separate dialog for values that are inserted. I do that quite often in my apps...
Re: ArrayCtrl and accept row [message #33600 is a reply to message #33597] Sun, 28 August 2011 23:37 Go to previous message
forlano is currently offline  forlano
Messages: 1064
Registered: March 2006
Location: Italy
Experienced Contributor
mirek wrote on Sun, 28 August 2011 19:26

forlano wrote on Sun, 21 August 2011 18:03

Hello,

I've an ArrayCtrl with several ctrls in the row embedded via .Edit().
When a row is being edited the left click on any row different by that edited provocate the accepting of the data and the insertion finish.

Now I would like to prevent that the mouse left click produce the end of the editing. Instead the row editing must finish only pressing some button, let's say btnAccept. Only with this button the data are going to be accepted (and eventually checked). Is it possible? How to perform this task?

Thanks,
Luigi




It is not yet possible.

I can add this, but before I do, I have to say that in such case I see as better solution separate dialog for values that are inserted. I do that quite often in my apps...


OK, no problem.
What I really wanted was the full controll on the inserted data but I was unable to get it with ArrayCtrl. Perhaps I have not used properly WhenAcceptRow.
Instead I managed to obtain it in some way with GridCtrl.

Luigi
Previous Topic: GridCtrl MinGW compiling error
Next Topic: ArrayCtrl with vertical headers
Goto Forum:
  


Current Time: Sun Sep 22 20:14:30 CEST 2019

Total time taken to generate the page: 0.01170 seconds