New topic: Date as a property
<http://forums.realsoftware.com/viewtopic.php?t=47340> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message Charlie Post subject: Date as a propertyPosted: Tue Mar 19, 2013 5:49 pm Joined: Thu Feb 28, 2013 6:21 pm Posts: 4 I would like to use a Date as a property on a custom control and be able to set the date in the property list in the IDE. Can't seem to do it, is it possible? Top charonn0 Post subject: Re: Date as a propertyPosted: Tue Mar 19, 2013 6:30 pm Joined: Mon Apr 02, 2007 2:08 am Posts: 1167 Location: San Francisco, CA, USA Right-click on the custom control class on the project tab and select "Property List Behavior" from the menu. This will pop up a window where you can select which properties of the class should be shown in the property list. _________________ Boredom Software Top Pengwin Post subject: Re: Date as a propertyPosted: Tue Mar 19, 2013 8:02 pm Joined: Fri Mar 03, 2006 5:57 pm Posts: 60 Location: Elgin, Scotland charonn0 wrote:Right-click on the custom control class on the project tab and select "Property List Behavior" from the menu. This will pop up a window where you can select which properties of the class should be shown in the property list. I just tried this as an experiment, and out of curiosity, but the property that has a Date value does not appear in the Property List Behavior dialog _________________ Mark [Real Studio 2011r4 Pro on OSX 10.8.2 targeting OSX] MarkSpotCode - My trials and tribulations in the world of computer programming. Top charonn0 Post subject: Re: Date as a propertyPosted: Tue Mar 19, 2013 9:27 pm Joined: Mon Apr 02, 2007 2:08 am Posts: 1167 Location: San Francisco, CA, USA You're right. It may be because the Date property is a class instead of an intrinsic datatype. _________________ Boredom Software Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 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]
