I would like to write special check methode for Text widget.
I the user goes out from the text, the check methode should be executed.
When the check method not completes then the user should not be allowed to
make a focus to another control.
So, I have written a listener for the focusOut event, but in the focusOut
event
I can not force the focus on the widget which triggers the focusOut event.
Because
--
public boolean forceFocus () {
checkWidget ();
==> if (display.focusEvent == SWT.FocusOut) return false; <===
../..
--
Why ?
Thanks in advance
Regards,
Alexandre Didiot