I agree with this. But from the look I think it would be better the 
combobox itself has the dotted focus border and not the text field. That 
would also match the style of other focused widgets. But I don't 
directly know how to implement this.

Cheers,

Sebastian



dperez schrieb:
> Hi,
> 
> In this screenshot taken from Firefox:
> http://www.nabble.com/user-files/236030/Captura007.gif 
> 
> we see that the edit field is focused even if it is readonly.  
> When using the keyboard, the button at the right is just a visual remainder
> that we have a list of choices to select from.
> I vote for the text field to receive the focus.  The main advantages are: 
> 
> - you don't have 2 tab stops for the same field
> - the textfield can be highlighted when it combo receives focus
> 
> The text field would need also to handle the enter and esc keys for
> opening/closing the popup, up and down arrows, ....
> 
> Does anyone have a better idea?
> 
> 
> Sebastian Werner wrote:
>>
>> The problem with this is, that you want to have the text-field 
>> focusable. That's mainly because it could be editable for example. We 
>> need to find a way to handle both:
>>
>> To focus the combobox itself (because of the tab-order in a form for 
>> example) while internally focus the text-field to give the user a 
>> possibility to directly type in text after focus the field.
>>
>> I don't think that's easy to fix/improve.
>>
>> Cheers,
>>
>> Sebastian
>>
>>
>> dperez schrieb:
>>> Hi,
>>>
>>> Finally I have tried to comment out this.setTabIndex(1), and now the
>>> behaviour is ok, only the text field is in the tab focus chain.
>>> Do you want me to create a patch for this?
>>>
>>>
>>> dperez wrote:
>>>> Hi,
>>>>
>>>> When I press the tab button and have ComboBoxes, the focus is cycled
>>>> between the TextField inside the combo and the ComboBox itself.
>>>> I know this by the dotted frame around the control.
>>>>
>>>> I expect to only receive the focus the TextField, in the tab cycle.
>>>> Hopefully to solve this, is as easy as removing this call in the
>>>> ComboBox
>>>> constructor:
>>>>
>>>>    this.setTabIndex(1)
>>>>
>>>> Is this a bug or am I missing something?
>>>>
>>>> Regards,
>>>> David
>>>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to