New topic: RB2011r4.2 - name (property) error driving me crazy - help!
<http://forums.realsoftware.com/viewtopic.php?t=44043> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message seanclancy Post subject: RB2011r4.2 - name (property) error driving me crazy - help!Posted: Thu May 17, 2012 5:04 am Joined: Fri Jan 08, 2010 9:59 am Posts: 236 I have recently experienced a load of errors that are really affecting my applications. For reasons completely unknown, I have lost 1 whole window that I spent months and thousands of lines of code into oblivion. Now I have retrieved a backup and trying to code it back to where it was... Suddenly - and for no reason whatsoever, I get this error JazzV.name (property value) There are several names with this name and it is not clear which one the call refers to Name:JazzV Obviously the window is called JazzV I did an analysis of my project and it refered to this error - but I have have n way of fixing this. What can I do - I don't want to create the whole window again from scratch as that would just drive me crazy. How do I fix this error? Sean Top Bob Keeney Post subject: Re: RB2011r4.2 - name (property) error driving me crazy - hePosted: Thu May 17, 2012 9:25 am Joined: Fri Sep 30, 2005 11:48 am Posts: 3012 Location: Lenexa, KS Isn't 'name' an RB property (since every object has a name)? You might want to rename that property and see what happens. We tend to prefix ALL of our RB objects and variables and never have this issue. So in our case, the window would be named winJazzV and instead of having 'Name' as a property we would prefix it with an s to indicate a string so it would be 'sName'. Again, conflicts with class names and RB properties are avoided. Since we deal with a dozen projects at any given time we find this lessens any confusion. _________________ Bob K. 30+ hours of Real Studio Video Training (including over 6 hours of Web Edition) at http://www.bkeeney.com/ Real Studio Consulting http://www.bkeeney.com/consulting/real-studio-consulting BKeeney Briefs Blog For Real Studio Developers http://www.bkeeneybriefs.com/ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 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]
