New topic: 

List Box Alternate Stripe

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        JohnV          Post subject: List Box Alternate StripePosted: 
Tue Apr 02, 2013 10:57 am                         
Joined: Sun Jan 28, 2007 2:38 pm
Posts: 212                I am trying to change the color of the alternate 
stripe of a list box on the fly 

This throws a Type Mismatch Error. 

ListBox1.AlternateRowColor="&c"+TextField1.text


 How do I recast it?   
                             Top                ktekinay          Post subject: 
Re: List Box Alternate StripePosted: Tue Apr 02, 2013 12:06 pm                  
               
Joined: Mon Feb 05, 2007 5:21 pm
Posts: 544
Location: New York, NY                There is probably a better way to do it, 
but this works:
dim v as variant = "&c" + TextField1.text
ListBox1.AlternateRowColor = v
      
_________________
Kem Tekinay
MacTechnologies Consulting
http://www.mactechnologies.com/

Need to develop, test, and refine regular expressions? Try RegExRX.
  
                             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