Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Strange behaviour for selectAll
Strange behaviour for selectAll [message #1799578] Mon, 10 December 2018 13:29 Go to next message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 192
Registered: February 2013
Senior Member
Strange behaviour for selectAll for Text widget

For first iteration selectAll operation works well
For next clicks selectAll doesn't work

Sometime after 2-4 clicks that's all right
After nothing .... text is not selected


 final Button check = ShopRwt.createCheckBox(grp1, "Table Style", true);
            check.addListener(SWT.Selection, event -> {
                text.setText(check.getSelection() ? getTab() : getList());
                text.setFocus();
                text.selectAll();
            });
Re: Strange behaviour for selectAll [message #1799682 is a reply to message #1799578] Wed, 12 December 2018 10:32 Go to previous message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 192
Registered: February 2013
Senior Member
small investigation

setFocus doesn't work well

I clicked button and focus for Text field has not changed (click keys and nothing ) cause and selectAll is not working
Previous Topic:SWT manual resource disposal
Next Topic:Mixing e3 and e4 in RAP?
Goto Forum:
  


Current Time: Tue Apr 16 13:42:38 GMT 2024

Powered by FUDForum. Page generated in 0.23337 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top