C1Schedule : make cursor keys behave like the ones in Outlook

Posted by: chris.moxon on 9 July 2021, 11:42 am EST

  • Posted 9 July 2021, 11:42 am EST

    Hi,

    I’ll first explain what I’m trying to achieve and hopefully you have some sample code/project that shows me how to do it - because surely I’m not the first person to want this UI experience. I’ve had an attempt at fixing this (by hooking into ProcessCmdKey) and was originally going to supply my code here, but for now I won’t, because after more testing it’s actually worse than I thought :frowning:

    Anyway, I would like the cursor keys in the C1Schedule to behave the same as they do in Outlook, which is basically to move the focus up, down, left and right. Your control does do this, so long as an appointment is not selected … if an appointment is selected; it moves the appointment in that direction ! I just can’t understand why anyone would want this to happen - but hey ho, I’m after a way to stop it from moving the appointment and the focus just moves in the correct direction (this is the behaviour in Outlook) … and also works correctly when the focus has got to the edge of the control and a cursor key is pressed (this is one area, where my code fails) ?!

    Hope you can help me, as you have in the past.

    Cheers,

    Chris.

  • Posted 12 July 2021, 6:41 am EST

    Hi,

    We have escalated this to the development team and will let you know as soon as we get any updates.

    Regards.

    Avnish

    [INTERNAL TRACKING ID : C1WIN-25238]

  • Posted 10 December 2021, 7:26 am EST

    Hi Chris,

    This feature has been added in the 21v3 release, you can now use the EditOptions.AllowKeyboardDrag flag to change the behavior of the arrrow key. When this flag is checked, arrow keys drag appointments to a different time.

    Otherwise, arrow keys move selection from the appointment to the underlying time slots.

    Please use the latest installer from https://www.grapecity.com/componentone/download to update to 21v3 release.

    Regards

    Avnish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels