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 » EditField and the Enter Key[SOLVED]
Re: EditField and the Enter Key [message #3427 is a reply to message #3423] Wed, 24 May 2006 18:54 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
class MyApp : public WithMyAppLayout<TopWindow> {
   virtual bool Key(dword key, int count);
.......
};

bool MyApp::Key(dword key, int count)
{
    if(key == K_ENTER) {
           ......
           return true; // key accepted
    }
    return TopWindow::Key(key, count);
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hide Passwords in EditField[SOLVED]
Next Topic: How to print the selected text in a LineEdit
Goto Forum:
  


Current Time: Sat Aug 09 22:43:19 CEST 2025

Total time taken to generate the page: 0.04308 seconds