New topic: 

making control array

<http://forums.realsoftware.com/viewtopic.php?t=47043>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        bgersten          Post subject: making control arrayPosted: Sat 
Feb 23, 2013 1:19 am                         
Joined: Wed Feb 20, 2013 5:54 pm
Posts: 1                I have created a project with several control arrays of 
radiobuttons. I am trying to create another control array for another feature 
however am unable to do so. I have tried to create several instances of a 
radiobutton with the same names but get no message asking if I am trying to 
create a control array. Nor, when I give several buttons the same name and 
manually insert sequential index numbers do they act as an array. They are 
listed separately in the controls section of the code editor with ( ) after 
their name but appear to be independent. What do I need to do to create another 
control array?

Thanks,
Brian   
                             Top                timhare          Post subject: 
Re: making control arrayPosted: Sat Feb 23, 2013 2:09 am                        
 
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12078
Location: Portland, OR  USA                Did you use parens and a number as 
part of the name?  If so, don't.  Each control has an Index property.  Give the 
controls the exact same name and set the Index property (it's not part of the 
name).   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to