New topic: 

Looping through a group of EditFields

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

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       basicbart           Post subject: Looping through a group of 
EditFieldsPosted: Sun Jan 24, 2010 3:11 pm                        
Joined: Sat Dec 26, 2009 1:26 pm
Posts: 3              I am struggling with certain aspects of RB. One of the 
areas I can't seem to get to to work is looping.

I have 50 EditFields in a window. I want to assign some attribute (or value) to 
all 50 boxes. I can't seem to find a way to use a for...next loop to update all 
the EditFields, but rather must update each field individually.

For example, I may want to change the background color of all 50 boxes 
simultaneously in an accounting entry form. How can I create a short cut to 
write the code just once and not fifty times?

thanks for your help - RB is a terrific language, but as an old Basic "line 
editor" programmer, there are some things hard to figure out!   
                            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