[Done] Options Before Flags

You need some new stunning features ? Tell us here.
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

[Done] Options Before Flags

Post by electrochrisso »

When selecting #PB_Calendar_Borderless option for calendar gadget this code is produced

Code: Select all

Calendar_0 = CalendarGadget(#PB_Any, 12, 63, 258, 197, #PB_Calendar_Borderless)
It will not work because there also needs to be at least a 0 or a date inserted before the flag

Code: Select all

Calendar_0 = CalendarGadget(#PB_Any, 12, 63, 258, 197, 0, #PB_Calendar_Borderless)
This is something to look out for with gadgets that use more optional/s before the flags as values need to be there too.
PureBasic! Purely the best 8)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Options Before Flags

Post by Polo »

Fixed.
Post Reply