New topic: 

Enabling groupboxes via loop

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        terreywe          Post subject: Enabling groupboxes via 
loopPosted: Tue Feb 26, 2013 1:10 pm                         
Joined: Wed Oct 31, 2012 11:21 pm
Posts: 6                Hi all,

Short question, im trying to enabled selected groupboxes, using loop, since 
although if else statements would work, it would be alot.

at the moment, we have groupboxes : select1, select2 select3 etc etc etc..

so, depending on users choice, it should enable 1-21 selections.

the issue, i cant enable the groupbox that way....

tried this simple code

  dim i as Integer
  i = 1
  select"+val(i)+".visible = true

just to enabled the 1st groupbox, select1, and this doesnt fire at all. error 
actually....

is there a way for this? or am i complete wrong to think it would work in a 
loop?

appreciate any feedback, and thanks.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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