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

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: 14291
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: Sat Jul 04 17:49:40 GMT+2 2026

Total time taken to generate the page: 0.00586 seconds