New topic: Property List Enumerations
<http://forums.realsoftware.com/viewtopic.php?t=37048> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Jason_Adams Post subject: Property List EnumerationsPosted: Wed Jan 12, 2011 11:12 am Joined: Fri Nov 10, 2006 4:10 pm Posts: 617 When adding a property to the Property List for a class, one can set the property to use an enumerationâneat! The option is generally 'None' or 'Custom'. If one does custom then the enumeration can be made there an then. The only problem with this is it places the enumeration out of scope to be used in actual code. So I figured, "Hey, the 'none'/'custom' list is a menu, so I bet if I add an enumeration to the class it will show up in the menu!" I was sadly wrong, and even ventured to try creating an enumeration in a module or some such global locationâno good. So I was wondering: Anyone know how to either use the custom enumerations being made within the Property List Behavior menu, or use a predefined enumeration? Thanks! _________________ Windows 7 Ultimate RS Pro 2010r2.1 "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton 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]
