New topic: 

"Deprecated" message for EditFields?

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

       Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic         Author  
Message       barrytraver           Post subject: "Deprecated" message for 
EditFields?Posted: Wed Dec 02, 2009 9:33 am                        
Joined: Fri Sep 30, 2005 1:53 pm
Posts: 312
Location: Philadelphia, PA              Help!  I've been away from REALbasic 
for a while, and now when I load an earlier RB program into the current version 
of RB (RB2009r5) I get some sort of "deprecated" message that seems to be 
related to EditFields.

How do I fix it?  Thanks in advance for the help.

Barry Traver   
                            Top                barrytraver           Post 
subject: Re: "Deprecated" message for EditFields?Posted: Wed Dec 02, 2009 9:52 
am                        
Joined: Fri Sep 30, 2005 1:53 pm
Posts: 312
Location: Philadelphia, PA              I found this note elsewhere from Dave 
Sisemore:

Quote:A deprecated control [not depreciated].... is still available, but will 
become obsolete in a future version of RB.  In almost all cases there is a 
newer type control that replaces the deprecated one.  Recent example... the 
EDITFIELD is deprecated as of RB2009r4... and replaced with TEXTEDIT and 
TEXTAREA.  So... older RB code just needs to be brought up to the standards of 
the latest version... and most times RB will convert the code for you.
But exactly how do I bring my older RB code up to the standards of the latest 
version?

Do I actually remove the EditFields, replacing them with some newer control?

If so, does that mean that the code that was associated with the older 
EditFields have to be all rewritten, or is there an easier way to keep (or 
modify if necessary) the code?

How do I get RB to convert the code for me?

Is this covered in the current documentation?

Barry Traver   
                            Top                DaveS           Post subject: 
Re: "Deprecated" message for EditFields?Posted: Wed Dec 02, 2009 11:24 am       
                        
Joined: Sun Aug 05, 2007 10:46 am
Posts: 1804
Location: San Diego, CA              Select all the controls that show up in 
that window.... and click "RESOLVE"

That should cause RB to change them all for you.... 

Or you can ignore it for now..... They are only in Deprecated status.... not 
yet Obsoleted.


Note : this seems to only fix the actual controls themselves... If you have 
methods where you pass it a control by type... you will have to edit those your 
self.... And trust me the compiler will be quick to point them out to you.

Something like this

Function xyz(obj as EditField)

this line will not be "resolved".... but the actual physical objects in your 
windows will be     
_________________
Dave Sisemore
MacPro, OSX 10.5.8 RB2009r2  
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 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]

Reply via email to