CreateGadgetList Deprecated Function ?

Just starting out? Need help? Post your questions and find answers here.
pbster
User
User
Posts: 16
Joined: Sat Jan 17, 2009 2:10 am

CreateGadgetList Deprecated Function ?

Post by pbster »

Code: Select all

      If CreateGadgetList(WindowID(#Window_0))
Warning Depcrecated Function CreateGadgetList -

I'm using the demo version downloaded today. Just experimenting and this error stops compilation.

Any ideas?
Thx
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Remove the line and read the changes (historie) in the help-manual :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
pbster
User
User
Posts: 16
Joined: Sat Jan 17, 2009 2:10 am

Post by pbster »

Unfortunately this code was created by the visual editor, not hand written. ok. thanks.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

pbster wrote:Unfortunately this code was created by the visual editor, not hand written. ok. thanks.
The Visual Designer is not up to date
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> The Visual Designer is not up to date

Newbies don't know that, so it's confusing for them. It shouldn't be part of
the official package when it's so out of date like that.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

.... or there should be a 4.2 Demo avaliable until all parts are up-to-date again...
oh... and have a nice day.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Just experimenting and this error stops compilation.
No, it's just a warning. It doesn't stop the compilation.
bmon
User
User
Posts: 54
Joined: Sat May 24, 2008 8:51 pm
Location: U.S.

Post by bmon »

pbster ... In your example just change it to:

Code: Select all

 If UseGadgetList(WindowID(#Window_0))
Bruce
Post Reply