[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Capture paste action in TextFields

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@xxxxxxxxxxxxxxx> wrote in message
news:d847f6$qrj$1@xxxxxxxxxxxxxxxxxxx
> 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