Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem of enabling tab button in the Text
Problem of enabling tab button in the Text [message #1077797] Fri, 02 August 2013 02:47 Go to next message
Eclipse UserFriend
I created a Text control in a composite, but when I press the Tab button , instead of adding a '\t' to the text, it just changed focus to the next control.How can I fix this problem ?
Thanks!
Re: Problem of enabling tab button in the Text [message #1079940 is a reply to message #1077797] Mon, 05 August 2013 05:01 Go to previous message
Eclipse UserFriend
Hi.

I'm not entirely sure you can.
The only solution I could think of is to use ClientScripting (available
in the Incubator) to listen to KeyDown events on the Text fields and in
case of pressing a TAB key, set the events doit flag to false and
programmatically change the value of the Text field to insert a tab
character on the current selection. As I said, I'm not 100% sure it will
work, but it's well worth a try.

Greetings,
Tim

Am 02.08.2013 14:59, schrieb Kevin Green:
> I created a Text control in a composite, but when I press the Tab button
> , instead of adding a '\t' to the text, it just changed focus to the
> next control.How can I fix this problem ?
> Thanks!

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Bundles Problem in RAP
Next Topic:setMessage Hints with < character
Goto Forum:
  


Current Time: Wed Jul 16 09:09:26 EDT 2025

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

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

Back to the top