Hi Mustafa,

setting the focus works, but there is no focus indicator. Just open my 
example and press the "space bar", you will see that the group box is 
enabled and disabled:
http://tinyurl.com/34keeon

The CheckBox sets for each state (e.q. focused, checked, etc.) an icon. 
But when you set an own icon (like in your example), the appearance 
changes for the icon are ignored. That's because otherwise the default 
icons are used when the state changes.

To get an own focus indicator for your CheckGroupBox you have to define 
a appearance for it. You can do this by defining a appearance which 
returns a icon or a decorator for each state (e.q. checked, focues, 
hoverd, etc.).

Cheers,
Chris

Am 27.08.2010 15:08, schrieb i...@saksys.de:
> Hi Chris,
>
> can't set focus! What I'm doing wrong?
>
> var groupBox = new qx.ui.groupbox.CheckGroupBox("name",
> "icon/16/apps/utilities-text-editor.png");
>                                       
> //console.log(groupBox._getCreatedChildControls());
>                                       
> groupBox.getChildControl("legend").focus();
>
>
> regards Sak
>
>
>>    Hi Mustafa,
>>
>> you can use the child control system for that. The CheckBox from the
>> CheckGroupBox is implemented as child control [1].
>>
>> Just ask for the child control "legend" and then set the focus on it:
>> http://tinyurl.com/2w8aq6z
>>
>> Cheers,
>> Chris
>>
>> [1]
>> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.groupbox.CheckGroupBox~legend
>>
>>
>> Am 26.08.2010 16:51, schrieb Mustafa Sak:
>>> Hi list,
>>>
>>> How to set the focus for the checkbox of a checkgroupbox?
>>>
>>> Regards Sak
>>>
>>> Von meinem iPhone gesendet
>>>
>>> ------------------------------------------------------------------------------
>>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>>> Be part of this innovative community and reach millions of netbook users
>>> worldwide. Take advantage of special opportunities to increase revenue
>>> and
>>> speed time-to-market. Join now, and jumpstart your future.
>>> http://p.sf.net/sfu/intel-atom-d2d
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>> ------------------------------------------------------------------------------
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to