Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Capture paste action in TextFields
Capture paste action in TextFields [message #456714] Tue, 07 June 2005 13:29 Go to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

I've got the problem that in the application I write people may drop
content from other applications like OpenOffice, Word, ... using cut and
past. Still I have to replace all Tab-Stops through whitespaces. How can
I trap the past action in the text field and replace the the tabs
through may whitespaces.

Thanks

Tom
Re: Capture paste action in TextFields [message #456987 is a reply to message #456714] Mon, 13 June 2005 20:43 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
If you are using a Text control, you can use the SWT.Verify notification to
change the text before the Text control sees it.

"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:d847f6$qrj$1@news.eclipse.org...
> Hi,
>
> I've got the problem that in the application I write people may drop
> content from other applications like OpenOffice, Word, ... using cut and
> past. Still I have to replace all Tab-Stops through whitespaces. How can
> I trap the past action in the text field and replace the the tabs
> through may whitespaces.
>
> Thanks
>
> Tom
Previous Topic:how to change Button foreground color?
Next Topic:Combo/Text setTextLimit
Goto Forum:
  


Current Time: Sat Apr 27 05:03:52 GMT 2024

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

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

Back to the top