Page 1 of 1

PB5.20 Deprecated Commands

Posted: Wed Sep 25, 2013 3:50 am
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

Re: PB5.20 Deprecated Commands

Posted: Wed Sep 25, 2013 4:01 am
by skywalk
Quick search :wink:
Post #3 as bug in documentation.

Re: PB5.20 Deprecated Commands

Posted: Wed Sep 25, 2013 4:04 am
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()

Re: PB5.20 Deprecated Commands

Posted: Wed Sep 25, 2013 10:53 am
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

Re: PB5.20 Deprecated Commands

Posted: Thu Sep 26, 2013 4:21 am
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