Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Dotted line missing on focused Radio button and List
Dotted line missing on focused Radio button and List [message #533310] Thu, 13 May 2010 08:20 Go to next message
Vincent  is currently offline Vincent Friend
Messages: 6
Registered: April 2010
Junior Member
Hi all,
I have a wizard with some pages, every time I press next to the following page, I would like to focus on the first element when next page is shown.
I tried
Display.getDefault().asyncExec(new Runnable() {
public void run() {

but the dotted line is not showing around the control. Any suggestions?

Thanks in advance.

[Updated on: Thu, 13 May 2010 08:21]

Report message to a moderator

Re: Dotted line missing on focused Radio button and List [message #533509 is a reply to message #533310] Fri, 14 May 2010 10:31 Go to previous message
Praveen  is currently offline Praveen Friend
Messages: 86
Registered: July 2009
Whenever you traverse to the next page, try to get the base parent for
all controls of the page, which would be instance of 'Composite' mostly.
Then, composite.setFocus() would determine the first child and takes
care of assigning the focus to it.
Previous Topic:Automatically resize multi-line Text widget to match # of rows
Next Topic:Launch an external application in a shell
Goto Forum:

Current Time: Thu Dec 05 15:36:45 GMT 2019

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

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

Back to the top