[DONE] Depreciated function - CreateGadgetList()?

Just starting out? Need help? Post your questions and find answers here.
PresFox
User
User
Posts: 33
Joined: Sat Jan 19, 2008 9:30 am

[DONE] Depreciated function - CreateGadgetList()?

Post by PresFox »

My Visual editor uses this function, but the compiler says its depreciated?

What should i use instead?
Last edited by PresFox on Sat Apr 03, 2010 6:20 pm, edited 1 time in total.
User of PB 4.41 - x86
On Windows 7
Intel Core I5 2.26GHZ
8 GB RAM
ATI Mobility Radeon HD 5650
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: Depreciated function - CreateGadgetList()?

Post by Arctic Fox »

It has been removed since PB 4.30.
A gadget list is automatically created when using OpenWindow() - unless you specify the #PB_Window_NoGadgets flag, then you have to use UseGadgetList() to create one.

But for windows created with the visual designer you can just remove it.
PresFox
User
User
Posts: 33
Joined: Sat Jan 19, 2008 9:30 am

Re: Depreciated function - CreateGadgetList()?

Post by PresFox »

thanks alot, does the trick
User of PB 4.41 - x86
On Windows 7
Intel Core I5 2.26GHZ
8 GB RAM
ATI Mobility Radeon HD 5650
Post Reply