[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: How to disable user from inserting UNICODE character in Text editor

You can add your own popup menu that will override the default operating
system one.  However, the user may be able to enter characters that you
don't what using the keyboard.  If you are trying to filter input, see the
SWT.Verify event.

"Alan Lian" <lianjiexin@xxxxxxxxxxx> wrote in message
news:d7koi7$qgv$1@xxxxxxxxxxxxxxxxxxx
> I'm using swt.widgets.Text in my UI design, the right -click pop-up menu
> allow user to insert unicode character. How can I disable this?  thanks a
> lot
>
>