On Fri, 26 Apr 2013 10:35:21 +0200, R.Wieser wrote:
> Alas, although the article tells me, in the list under the second image,
> that a function key will drop down a calendar control, it does not say
> anything about which keys are valid/to be used in it.
>
> On a hunch I just pressed the, also in that list mentioned, PGUp, PGDown,
> End and Home keys. They moved to the next/previous year and end/begin of
> the selected month repectivily.
>
> Ok, those are found. Now how do I move to a next or previous day ? The
> cursor keys just move the focus away from the SysMonthCal32 control. :-\
You're right, the article doesn't mention all of the details. -_-
The arrow keys are indeed used to change the date selection. My hunch tells
me, that the GUI framework you're using, whatever it is, is interfering the
control input. I checked with Delphi (a Win32 Date-Time Picker; not .NET
one) and it works fine in a window with a date-time-picker and a utton
controls. When the date-time-picker's calender selector is pulled down, the
arrow keys doesn't move the focus out from it and onto the button control.
Even TAB / SHIFT+TAB keys don't change the focus.
Here are the keyboard shortcuts that I know:
LEFT = select previous value (from edit box)
RIGHT = select previous value (from edit box)
MINUS / DOWN = decrease value (from edit box)
PLUS / UP = decrease value (from edit box)
F4 / ALT+DOWN = pull down the calendar (from edit box)
ENTER / ALT+UP = pull up the calender. use selection (from calendar)
ESCAPE = pull up the calendar. don't use selection (from calendar)
ARROW KEYS = move date selection (from calendar)
PAGEUP = select previous month (from calendar)
PAGEDOWN = select next month (from calendar)
CTRL+PAGEUP = select previous year (from calendar)
CTRL+PAGEDOWN = select next year (from calendar)