initial focus in wizard page [message #517754] |
Mon, 01 March 2010 22:32 |
Eclipse User |
|
|
|
Originally posted by: jann.schneider.googlemail.com
Hello,
I'm currently implementing a wizard with several pages. Now i am
wondering how to set the focus initial to a specific control. I thought
in my createControl(...) method after creating and initializing several
widgets and calling setControl(...) afterwards i could just use e.g.
someWidget.setFocus() But this doesn't work. I just have the focus at
the next button.
Do i miss something here? Or is this the wrong time to do so?
Maybe it's due to the fact i didn't implement canFlipToNextPage() and
such things yet. I first wanted to do the GUI and afterwards the logic
behind ..
Thanks in advance
Regards Jann
|
|
|
|
Re: initial focus in wizard page [message #518061 is a reply to message #517790] |
Tue, 02 March 2010 21:57 |
Eclipse User |
|
|
|
Originally posted by: jann.schneider.googlemail.com
Am 02.03.2010 08:33, schrieb Prakash G.R.:
> On 02/03/10 4:02 AM, Jann S. wrote:
>> Hello,
>>
>> I'm currently implementing a wizard with several pages. Now i am
>> wondering how to set the focus initial to a specific control. I thought
>> in my createControl(...) method after creating and initializing several
>> widgets and calling setControl(...) afterwards i could just use e.g.
>> someWidget.setFocus() But this doesn't work. I just have the focus at
>> the next button.
>
> override the setVisible() method and set the focus to the widget
>
THX! this works perfectly!
regards Jann!
|
|
|
Powered by
FUDForum. Page generated in 0.04915 seconds