|
|
Re: Context menu in Text box [message #462154 is a reply to message #462019] |
Fri, 07 October 2005 10:54 |
mohit Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Well the default menu was shown automatically, however, even when the
textbox was read only, "Paste" was enabled. I just wanted to disable it
without reinventing the wheel.
Steve Northover wrote:
> What do you mean by "handle"? It should work automatically. If you want to
> get rid of it, either add your own menu using Control.setMenu(), or set
> doit=false in SWT.MenuDetect.
> "Mohit" <mohit.jhawar@gmail.com> wrote in message
> news:e96d959c1d5e32d8b5ce577cb1aa0375$1@www.eclipse.org...
>> Can some body please throw some light on how to get the handle of the
>> context-menu (Cut, copy, paste , Select all )which pops on the right click
>> in a text Field (org.eclipse.swt.widgets.Text)
>>
>> tia,
>> Mohit
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03032 seconds