« Return to Thread: accessing multiple buttons

accessing multiple buttons

by Michael Steinwede-2 :: Rate this Message:

Reply to Author | View in Thread

Hi all,

I have 21 check buttons. Instead checking each one individually, I  
won't to check them within two FOR statements similar to the propgram  
below

                For ($day;1;7)
                        For ($hour;1;3)
                                If (checkButton=1)
                                        do something
                                Else
                                        do something different
                                End if
                        End for
                End for
               
The check buttons have the variable name and the object name the same  
and take the form of  cb_11, cb_12, cb_13, cb_21, cb_22 etc.

The idea is to get the 4d to recognize checkButton as cb_11, cb_12, etc.

Is this a possibility and am I barking up the wrong tree?

Any help appreciated.

Michael.
**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

Did you know?  The 4D Partner Program now gives you
access to Hotfix releases as soon as they are available!
To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************


 « Return to Thread: accessing multiple buttons

LightInTheBox - Buy quality products at wholesale price