Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:47 Go to next message
Kevin Green is currently offline Kevin GreenFriend
Messages: 2
Registered: August 2013
Location: Beijing
Junior Member
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 09:01 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
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: Thu Apr 18 23:17:27 GMT 2024

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

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

Back to the top