New topic in Getting Started: 

Accessing the properties of an instance of a parent class

Cartwright - Wed Apr 16, 2008 7:05 pm

<http://forums.realsoftware.com/viewtopic.php?t=21876>
                                                                                
                                                                                
I have classA with a handful of properties, one of which is a RealSQLDatabase.  
Also as property of classA is classB.  It's not subclassed from classA; it's 
just a property of classA.

In classB, I want to refer to the realsqldatabase that is also a property of 
classA.  Is there any way to access this?  I'm going around in circles here.  
There are many instances of classA, each with their own db.  Any suggestions?  
Thanks.

---
classA
--db as realsqldatabase
--cB as classB

I want to access db from within cB.                                             
                                        
_________________
RB2008r1 on Windows XP
http://ohiohighschoolfootball.blogspot.com                                      
                                                                                
                                                                                
                                                                                
                                                                                
                                        




-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to