New topic: Compile error having changed only macbook
<http://forums.realsoftware.com/viewtopic.php?t=29674> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message martinrdb Post subject: Compile error having changed only macbookPosted: Fri Aug 21, 2009 10:09 am Joined: Tue Jun 16, 2009 3:23 am Posts: 3 I moved to another MAC (same OS etc..). I reinstalled RealBasic v3 and copied my files over. Without changing anything, I immediately now have two problems that might be related. The first, upon opening my project file I get a list of the same error: "control uses a deprecated superclass" Â I have no idea what this is and how it occurred since the simple textboxes which it's referring too is straight off the Built-In controls. If I check off these/repair, and then simply try and compile/run (from within realbasic environment), I get an error: "Type Mismatch error. Expected EditField, but got runtimeprompts.valueText" - File: Office (whatever that is) - Location: runtimeprompts.setprompts So I'm thoroughly confused with why now the errors, what they actually mean and in the final case, gives me no information on what or where to look... Has anyone seen this before or can suggest my next step because I am now completely stuck. Thank you, Martin Top mjh Post subject: Re: Compile error having changed only macbookPosted: Fri Aug 21, 2009 10:59 am Joined: Sun Feb 19, 2006 3:10 pm Posts: 329 Location: Hamburg, Germany Starting with RB 2009r3, EditFields are deprecated, but you can still use them; that would be the simplest short-term solution (i.e. go back to the previous version of your project and this time donât let RB repair anything). Otherwise you would have to use the search command to find out where your code is still expecting an EditField. Or you might go back to 2009r2.1 for the time being (another short-term solution). _________________ Michael J. HuÃmann http://digicam-experts.de Top mrebar Post subject: Re: Compile error having changed only macbookPosted: Fri Aug 21, 2009 11:02 am Joined: Wed Feb 15, 2006 1:30 pm Posts: 2878 Location: U.S.A (often), Creswell, often Dallas, Atlanta, Spokane, Pago Pago. Quote: the simple textboxes AFAIK, there are no controls known as textboxes or simple textboxes. There are EditFields (deprecated) andTextAreas and TextFields. My guess is that you are using an EditField -- no need to accept RB's helpful suggestion to repair. I bet if you decline, the problem will disappear. Michael _________________ RB 2009r2, OS 10.5.6, Win XP SP 3 Top martinrdb Post subject: Re: Compile error having changed only macbookPosted: Fri Aug 21, 2009 11:48 am Joined: Tue Jun 16, 2009 3:23 am Posts: 3 yes - you are both correct. Not sure why I didn't tried not accepting the suggested change - looked very fatal if I didn't. It all works now I have ignored the "helpful" resolution. Thank you so much, Martin. 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]
