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 » Developing U++ » U++ Developers corner » Request for ChildKbdEvent()
Re: Request for ChildKbdEvent() [message #8733 is a reply to message #8731] Wed, 28 March 2007 16:15 Go to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
unodgs wrote on Wed, 28 March 2007 08:57


But if you reach the last line and press down again - cursor changes its position. But to be able to implement that without creating your own widgets I need possibility to analyze child control keyboard events.



Note that current protocol is explicitly designed to deal with such issues well (true: key was used). In fact, you should rather ask about fixing LineEdit Smile

Quote:


BTW: It would be great if Ctrl class have type field. For example GetType() could return Ctrl::EDIT, Ctrl::ARRAY_CTRL, CTRL::UNKNOWN and so on. It would be easier and cheaper to distinguish child control type than using RTTI.



RTTI dynamic_cast is fast enought here to warrant such complex and limited facility.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Build method cleanup
Next Topic: Makefile generation ideas
Goto Forum:
  


Current Time: Mon Apr 28 20:33:42 CEST 2025

Total time taken to generate the page: 0.04590 seconds