yes
even tried overriding setLabel method

On Mon, Aug 15, 2011 at 12:13 AM, ashok kumar <[email protected]> wrote:

> Just a guess -
>
> Did u try with simply assigning the label with value?
> checkBox.label =headerLabel.text; instead
> checkBox.label ="myLabel";
>
> Regards
>
>   On Wed, Aug 10, 2011 at 9:50 AM, Malek S <[email protected]> wrote:
>
>> f5
>> pls help
>>
>>    On Tue, Aug 9, 2011 at 7:12 PM, Malek S <[email protected]> wrote:
>>
>>> anybody faced this issue??
>>> F5
>>>
>>>   On Tue, Aug 9, 2011 at 5:12 PM, Malek S <[email protected]> wrote:
>>>
>>>> HI all,
>>>> I am trying to add checkbox inside list.
>>>> i have overriden createChildren() method.
>>>> its rendering checkbox properly . But i cannot see label.
>>>>
>>>> below is  my code. i tried debugging and its setting label property
>>>> still facing this issue
>>>> can some body help me on this
>>>>
>>>>
>>>> *
>>>>
>>>> override
>>>> **protected* *function* createChildren():*void*
>>>>
>>>> {
>>>>
>>>> *super*.createChildren();
>>>>
>>>> *var* headerLabel:Label = *new* Label();
>>>>
>>>> headerLabel.text =
>>>> *"select All"*;
>>>>
>>>>  checkBox=
>>>> *new* CheckBox();
>>>>
>>>> checkBox.setStyle(
>>>> *"horizontalCenter"*, *"1"*);
>>>>
>>>> checkBox.setStyle(
>>>> *"verticalCenter"*, *"1"*);
>>>>
>>>> checkBox.label =headerLabel.text;
>>>>
>>>> checkBox.percentWidth=50;
>>>>
>>>> *//checkBox.labelPlacement="Right";*
>>>>
>>>> checkBox.move(95,10);
>>>>
>>>> *//checkBox.addChild(headerLabel);*
>>>>
>>>> checkBox.addEventListener(MouseEvent.CLICK, checkBoxClickHandler);
>>>>
>>>> *//checkBox.addEventListener(MouseEvent.MOUSE_DOWN,
>>>> checkBoxToggleDecision);*
>>>>
>>>> addChild(checkBox);
>>>>
>>>> }
>>>>
>>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to