But if you Tab away from the CalendarGadget and then Tab back to it, you CAN move around the dates with the arrow keys, as expected.
So is there a way to give the keyboard focus to the CalendarGadget when you click a date with the mouse? Or is this a bug?
Code: Select all
If OpenWindow(0,200,200,250,250,"CalendarGadget",#PB_Window_SystemMenu)
CalendarGadget(0,10,10,240,180)
ButtonGadget(1,10,200,230,40,"Click a date and use arrow keys")
SetActiveGadget(1)
Repeat
ev=WaitWindowEvent()
Until ev=#PB_Event_CloseWindow
EndIf