New topic: 

IDE Behaviour - appears inconsistent - Sub-Classing

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

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        superjacent          Post subject: IDE Behaviour - appears 
inconsistent - Sub-ClassingPosted: Sat Apr 13, 2013 9:11 pm                     
            
Joined: Sat Oct 01, 2005 4:47 am
Posts: 87
Location: Melbourne, Australia                I've subclassed various window 
controls (TextField, Checkbox etc.) and added string properties named, 
TableName and FieldName.  Other non string properties created as well.

Within the IDE when I place my sub-classed TextField control on a window I can 
clearly see the newly created string properties, TableName & FieldName, within 
the Properties of the control on the right of the IDE under the sub-heading of 
Behaviour, oops sorry, Behavior. Though I can not see any reference to a third 
created string property or any of the non string properties.

When I place my sub-classed CheckBox control on a window there is no reference 
to my newly created properties under the properties panel of the IDE.

Within code I can access my newly created properties of the sub-classed 
controls but the IDE appears to be a little inconsistent in the display of the 
newly created properties.

The particular project I'm working on is something I started 2-3 years ago 
where I originally created the sub-classed properties. I've had a layoff from 
programming and only recently returned to it. Just wondering if my current IDE 
(2012 r2.1) works differently (in this regard) to the versions back in 2010-11. 
     
_________________
Steve
rs2012 r2.1 Windows 7.  
                             Top                swort          Post subject: 
Re: IDE Behaviour - appears inconsistent - Sub-ClassingPosted: Sat Apr 13, 2013 
10:20 pm                         
Joined: Mon May 31, 2010 5:35 am
Posts: 2407
Location: Netherlands                Right click your sub class in the project 
overview, then edit property list behaviour.
Protected and private properties will not be showing up in the property list.   
   
_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source 
plugins)
For Dutch User Groups ask me to enter!  
                             Top                superjacent          Post 
subject: Re: IDE Behaviour - appears inconsistent - Sub-ClassingPosted: Sat Apr 
13, 2013 11:53 pm                                 
Joined: Sat Oct 01, 2005 4:47 am
Posts: 87
Location: Melbourne, Australia                swort wrote:Right click your sub 
class in the project overview, then edit property list behaviour.
Protected and private properties will not be showing up in the property list.

Thanks, that did the trick.      
_________________
Steve
rs2012 r2.1 Windows 7.  
                             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