|reenable StyledText [message #479064]
||Sat, 08 August 2009 14:53
Registered: July 2009
I need to disable StyledText and reenable it depending on user's mouse control.|
I am doing this to disable it.
final StyledText sText = new StyledText(shell, SWT.WRAP | SWT.MULTI | SWT.BORDER);
And it has FocusListener.
The problem is that when I call setEnabled(false), when it loses the focus, but it doesn't capture focus when it's disabled. Is there a way to capture focus while it's not enabled Or is there a way to not editable instead of disabling it?
Any help would be appreciated.
Powered by FUDForum
. Page generated in 0.02177 seconds