Page 1 of 1

CreateGadgetList Deprecated Function ?

Posted: Sat Jan 17, 2009 2:14 am
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

Posted: Sat Jan 17, 2009 2:19 am
by ts-soft
Remove the line and read the changes (historie) in the help-manual :wink:

Posted: Sat Jan 17, 2009 2:22 am
by pbster
Unfortunately this code was created by the visual editor, not hand written. ok. thanks.

Posted: Sat Jan 17, 2009 2:39 am
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

Posted: Sat Jan 17, 2009 2:53 am
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.

Posted: Sat Jan 17, 2009 3:03 am
by Kaeru Gaman
.... or there should be a 4.2 Demo avaliable until all parts are up-to-date again...

Posted: Sat Jan 17, 2009 1:00 pm
by Trond
Just experimenting and this error stops compilation.
No, it's just a warning. It doesn't stop the compilation.

Posted: Sat Jan 17, 2009 5:33 pm
by bmon
pbster ... In your example just change it to:

Code: Select all

 If UseGadgetList(WindowID(#Window_0))
Bruce