Just starting out? Need help? Post your questions and find answers here.
pbster
User
Posts: 16 Joined: Sat Jan 17, 2009 2:10 am
Post
by pbster » Sat Jan 17, 2009 2:14 am
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
ts-soft
Always Here
Posts: 5756 Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany
Post
by ts-soft » Sat Jan 17, 2009 2:19 am
Remove the line and read the changes (historie) in the help-manual
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.
pbster
User
Posts: 16 Joined: Sat Jan 17, 2009 2:10 am
Post
by pbster » Sat Jan 17, 2009 2:22 am
Unfortunately this code was created by the visual editor, not hand written. ok. thanks.
ts-soft
Always Here
Posts: 5756 Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany
Post
by ts-soft » Sat Jan 17, 2009 2:39 am
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.
PB
PureBasic Expert
Posts: 7581 Joined: Fri Apr 25, 2003 5:24 pm
Post
by PB » Sat Jan 17, 2009 2:53 am
> 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.
Kaeru Gaman
Addict
Posts: 4826 Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany
Post
by Kaeru Gaman » Sat Jan 17, 2009 3:03 am
.... 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
Posts: 7446 Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway
Post
by Trond » Sat Jan 17, 2009 1:00 pm
Just experimenting and this error stops compilation.
No, it's just a warning. It doesn't stop the compilation.
bmon
User
Posts: 54 Joined: Sat May 24, 2008 8:51 pm
Location: U.S.
Post
by bmon » Sat Jan 17, 2009 5:33 pm
pbster ... In your example just change it to:
Code: Select all
If UseGadgetList(WindowID(#Window_0))
Bruce