New topic: 

Properties when creating a subclass of ListBox

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        DaveS          Post subject: Properties when creating a subclass 
of ListBoxPosted: Wed Oct 10, 2012 4:30 pm                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4170
Location: San Diego, CA                I am creating a custom listbox for a 
project.....
and want to set certain properties via the "Property List Behaviour" feature in 
the IDE

SOME of these work (BORDER, USEFOCUSRING).... but some do not, no matter what I 
put in the Behaviour list, the custom listbox is constructed with the original 
default values...  Most notably TEXTFONT, TEXTFONTSIZE... no matter what I set 
them to in the "Property List Behaviour" dialog, the revert to SYSTEM and 0 in 
the Property List for the listbox.


just to be clear... "PROPERTY LIST BEHAVIOR" is in the IDE under 
MENU->EDIT->PROPERTY LIST BEHAVIOUR
while the "Property List" is the box normally to the right hand side of the IDE 
window when you are in design mode


EDIT.....
If I create a new CONSTRUCTOR for my subclassed listbox..... I can set 
TEXTSIZE.... but NOT TEXTFONT, or DEFAULTROWHEIGHT      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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