PB5.20 Deprecated Commands

Everything else that doesn't fall into one of the other PB categories.
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

PB5.20 Deprecated Commands

Post by Neil »

Sorry to start new thread on Deprecated Commands but I have a few queries which may be specific to 5.20.

1. I get a compiler message saying that the "Frame3DGadget" has been deprecated.
Q. How do I find out what it has been replaced with. I searched the help file for "Frame3D" and no hits, (even though I can find other gadgets that have been deprecated)?

2. I opened the file containing the "Frame3DGadget" gadget with Form Designer and the gadget had been replaced by "FrameGadget".
Q. Has Form Designer done this or has something else happened in the background?

3. In the Help file, the example graphic for "FrameGadget" shows "Frame3DGadget" in the gadget title !!

Thanks,

Neil
User avatar
skywalk
Addict
Addict
Posts: 4316
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB5.20 Deprecated Commands

Post by skywalk »

Quick search :wink:
Post #3 as bug in documentation.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
Demivec
Addict
Addict
Posts: 4283
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: PB5.20 Deprecated Commands

Post by Demivec »

Neil wrote:Sorry to start new thread on Deprecated Commands but I have a few queries which may be specific to 5.20.

1. I get a compiler message saying that the "Frame3DGadget" has been deprecated.
Q. How do I find out what it has been replaced with. I searched the help file for "Frame3D" and no hits, (even though I can find other gadgets that have been deprecated)?
PB Manual under 'History' wrote:- Changed: renamed Frame3DGadget() to FrameGadget()
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: PB5.20 Deprecated Commands

Post by c4s »

For this very reason a quick "how to update your code" documentation would be really helpful: Documentation of how to switch from one version to the next
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

Re: PB5.20 Deprecated Commands

Post by Neil »

Hi All,

Thanks for replies and suggestions.

@skywalk
"quick search" is for forum posts suggesting the name change. I couldn't find a post where change had been agreed.

@Demivac
I didn't think of looking in the manual - I just assumed it would be something in the help file. As mentioned there were other deprecated gadgets listed in the help file, along with their new names.

@c4s
Some good suggestions in those posts.

Thanks again all
Post Reply