Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » catch the "return" key
catch the "return" key [message #590178] Fri, 22 August 2008 09:15
Aline is currently offline AlineFriend
Messages: 32
Registered: July 2009
Hi !

I would like to catch the return key in the rich text tab of an
RichTextEditor to insert a new line. For now, it just "simulates" the
pressing of the [OK] button.
I tried to add a keylistener to the RichTextEditor object but special keys
such as return key or backspace key are not catched. I also tried to
implements my class from KeyListener with no results.

Does anyone have some ideas to fix this ?

I also noticed that some key events are not catch in the keyPressed
function but they are in the keyReleased function. Does anyone know why ?

thanks in advance,

Previous Topic:Reg: Organisation Process Library
Next Topic:a question about epf rich edit:
Goto Forum:

Current Time: Thu Jan 27 21:46:29 GMT 2022

Powered by FUDForum. Page generated in 0.01971 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top