Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Wizard initial focus
Wizard initial focus [message #1220519] Thu, 12 December 2013 05:27 Go to next message
Thomas Weber is currently offline Thomas Weber
Messages: 2
Registered: December 2013
Junior Member
Hi,

I'm having troubles with the initial focus of a Wizard.
Opening the wizard as a dialog, the first field gets the focus. When opening the wizard within a view (DISPLAY_HINT_VIEW) no focus is set.
How can I set the focus in second case?

Best regards,
Thomas

Scout Version: 3.9.1
Re: Wizard initial focus [message #1220766 is a reply to message #1220519] Fri, 13 December 2013 08:19 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 634
Registered: October 2011
Senior Member
Hi Thomas,

Nice to see you here, on this forum!

Have a look at: IFormField#requestFocus()

I had the same discussion yesterday with someone also asking this...
Focus handling is not the biggest strength of Eclipse Scout. If you think we should improve something in this domain, feel free to make a proposal...

Nb: From what I know, your project uses or will use 3.10. In particular 3.10.0-M4. If your sources indicates 3.9.1 this is not an official version because of all the patches your project has applied on your scout-fork.
Re: Wizard initial focus [message #1221001 is a reply to message #1220519] Mon, 16 December 2013 10:46 Go to previous messageGo to next message
Thomas Weber is currently offline Thomas Weber
Messages: 2
Registered: December 2013
Junior Member
Hello Jeremie,

I tried IFormField#requestFocus() but the requestFocus is not accepted.
Shall I create a new Bug?
Re: Wizard initial focus [message #1223392 is a reply to message #1221001] Mon, 23 December 2013 03:52 Go to previous message
André Wegmüller is currently offline André Wegmüller
Messages: 7
Registered: September 2012
Junior Member
I've opened a Bugzilla ticket for this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=424603

Summary: requestFocus does not work when displayHint of wizard is set to VIEW (default DIALOG works).
Previous Topic:Password decoding
Next Topic:Custom security filter calling a scout service
Goto Forum:
  


Current Time: Sat Jul 26 13:23:28 EDT 2014

Powered by FUDForum. Page generated in 0.11568 seconds