Page 1 of 1

[Done]PB v6.1x CalendarGadget and PB_Calendar_Bold

Posted: Wed May 29, 2024 5:40 pm
by mk-soft
PB_Calendar_Bold not longer work ...

Code: Select all

If OpenWindow(0, 0, 0, 250, 200, "CalendarGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  CalendarGadget(0, 10, 10, 230, 180)
  
  SetGadgetItemState(0, Date(), #PB_Calendar_Bold)
  
  Repeat
  Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf

Re: PB v6.1x CalendarGadget and PB_Calendar_Bold

Posted: Wed May 29, 2024 10:10 pm
by BarryG
It got removed by Freak a while back after I reported a bug. Sorry. He decided fixing the bug wasn't worth it, so removed bolding instead. :(

Re: PB v6.1x CalendarGadget and PB_Calendar_Bold

Posted: Thu May 30, 2024 7:48 pm
by gamparono
It was a useful feature i was missing to... Need some open source for libraries.

Re: PB v6.1x CalendarGadget and PB_Calendar_Bold

Posted: Fri May 31, 2024 8:54 am
by Fred
The bold support was removed because it doesn't support 64-bit date and was Windows only. Doc needs to be updated though.

Re: PB v6.1x CalendarGadget and PB_Calendar_Bold

Posted: Fri May 31, 2024 9:31 am
by BarryG
There's probably some API way of doing it. I don't know how. Just not an official PureBasic way anymore.