New topic: 

ListBox Column Names

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

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        Larry6295          Post subject: ListBox Column NamesPosted: Mon 
May 14, 2012 7:10 pm                         
Joined: Thu Feb 23, 2012 7:16 pm
Posts: 68
Location: Springfield, Illinois                I was surprised to find I could 
not reference the columns in my listbox by name.
Below is example of my code,

Name + "   " +TableName.cell(num,2) + " " +TableName.cell(num,1)    'First Name 
  Last Name

It would be easier to use FirstName in place of the 2 and LastName in place of 
the 1

Am I doing this wrong or is this not acceptable? When I looked at the Language 
Reference it did not
mention the use of names in place of integer column numbers.

Am I right that column names are not allowed?     
_________________
Larry6295
Professional 2011 R4.3
Windows 7 64 bit HP  
                             Top                timhare          Post subject: 
Re: ListBox Column NamesPosted: Mon May 14, 2012 7:13 pm                        
 
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 11298
Location: Portland, OR  USA                You are correct.  You could easily 
add that capability yourself in a subclass.   
                             Top                Larry6295          Post 
subject: Re: ListBox Column NamesPosted: Mon May 14, 2012 7:21 pm               
          
Joined: Thu Feb 23, 2012 7:16 pm
Posts: 68
Location: Springfield, Illinois                I will have to do some studying 
as I don't know how to set up a subclass.

Thank you for your advice.      
_________________
Larry6295
Professional 2011 R4.3
Windows 7 64 bit HP  
                             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