This might not be related to whether the check boxes are visible or not,
but instead if they have been created. If you do not force
CreationPolicy="all" the controls are not created until you navigate the
Tabs. A solution would be to use creationPolicy="all" in your Tab. However,
this might hurt performance in your application when loading the Tab.
Another would be to use some casting like this:


   buttonSearch.enable ="{  ( Boolean ( chkbx1.selected) *  Boolean (
chkbx2.selected)  * Boolean ( chkbx3.selected) ) }"

Since   Boolean( nulll) returns false, it would give you the value you
need.




|---------+----------------------------->
|         |                             |
|         |  "Bill Brown"               |
|         |  <[EMAIL PROTECTED]>  |
|         |  Sent by:                   |
|         |  [email protected] |
|         |  04/10/2006 01:04 PM        |
|         |  Please respond to          |
|         |  flexcoders                 |
|         |                             |
|---------+----------------------------->
  
>-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                |
  |      To: [email protected]                                         
                                                |
  |      cc:                                                                    
                                                |
  |      Subject:  [flexcoders] TabNavigator - Targeting Child Controls         
                                                |
  
>-----------------------------------------------------------------------------------------------------------------------------|




I am using a TabNavigator to split up dozens of checkboxes into relevant
search categories.
I need to be able to loop through all of the checkboxes to determine their
selected state.

The problem is that any checkboxes in the TabNavigator that are not visible
return a null value instead of a boolean.
Checkbox controls that are visible in the TabNavigator return a boolean.

How do I get values from the non-visible controls?

Thanks,
BB


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com


                            YAHOO! GROUPS LINKS

       Visit your group "flexcoders" on the web.

       To unsubscribe from this group, send an email to:
       [EMAIL PROTECTED]

       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to