New topic: 

Control.Index length

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

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        tjones          Post subject: Control.Index lengthPosted: Mon 
Dec 17, 2012 3:17 pm                         
Joined: Wed May 24, 2006 5:54 pm
Posts: 252                Hello,
How do I get the length of a Control.Index?

I have a TextField and I want to know how many are in the index.

Thanks,
tom   
                             Top                timhare          Post subject: 
Re: Control.Index lengthPosted: Mon Dec 17, 2012 3:57 pm                        
 
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 11894
Location: Portland, OR  USA                Loop through all the controls on the 
window and count how many have that Name.   
                             Top                tjones          Post subject: 
Re: Control.Index lengthPosted: Mon Dec 17, 2012 4:50 pm                        
 
Joined: Wed May 24, 2006 5:54 pm
Posts: 252                Ohhh, that stinks! I was really hoping I could just 
call TextField1.IndexCount or something.

Thanks,
tom   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 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