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 » Embed editfields in ArrayCtrl
Re: Embed editfields in ArrayCtrl [message #24277 is a reply to message #24275] Fri, 08 January 2010 15:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mrjt wrote on Fri, 08 January 2010 08:49


- I've also changed it to use ArrayCtrl::StdBar and set the ArrayCtrl cursor correctly to enable this, which is more in line with the way the ArrayCtrl works.



Not really. You had to do that exactly because you have not got called EditField RightDown - that one sets focus and this moves the cursor in ArrayCtrl Wink

Note that the fundamental problem, one we have spent 2 hours of icq exchange with mdelfede yesterday, is that if you just resolve problem by changing EditField menu routine, adding ArrayCtrl Bar if ArrayCtrl is ancestor widget, you run into the issue with ArrayCtrl deleting lines - in that case widget gets deleted by menu.Execute in RightDown and the method contines afterwards.

That is why we need PostCallback.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problems with ArrayCtrl and SetFont
Next Topic: Assertion in GridCtrl
Goto Forum:
  


Current Time: Thu Apr 25 19:34:01 CEST 2024

Total time taken to generate the page: 0.05297 seconds