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 » LineEdit, EditFields, DocEdit » Get enter key in EditString
Re: Get enter key in EditString [message #24093 is a reply to message #24090] Sat, 26 December 2009 17:39 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
koldo wrote on Sat, 26 December 2009 10:12

Hello all

Is it possible to link the enter key to a CallBack in EditString ?.

The trick I have used is to derive a new class from EditString and get the enter key catching EditField::Key(). It works but I wanted to know if there is a more direct way.

Best regards
Koldo


No. But you might consider catching K_ENTER in your main window ::Key.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: String to double
Next Topic: WithDropChoice Serialization?
Goto Forum:
  


Current Time: Sat May 11 11:09:07 CEST 2024

Total time taken to generate the page: 0.01839 seconds