3
Vote

Keyboard commands and modifiers

description

The drawing board should have the option of supporting keyboard commands and modifiers. We'll need to create a list of commands, may need to open each command/modifier as a new issue. Key commands should be able to be turned on and off and perhaps the ability to map to different keys.
 
Keyboard suggestions:
'Delete' - Removes the selected object from the drawing board
'Ctrl + c' - Copy currently selected shape
'Ctrl + v' - Paste the last copied shape
'Ctrl + a' - Select all
'Shift' - Constrain proportions while resizing a shape
'Tab' - Cycle selection through each shape on the drawing board

comments

christiandersen wrote Oct 22, 2008 at 10:22 AM

Can this be done so that this resides inside the drawingboard.dll? So that if you use the drawingboard these are the short cuts?

christiandersen wrote Oct 22, 2008 at 10:23 AM

We have to remember that the sample app is just a sample app.

wrote Oct 22, 2008 at 10:25 AM

wrote Oct 22, 2008 at 12:57 PM

wrote Oct 22, 2008 at 1:00 PM

ccozad wrote Oct 22, 2008 at 3:44 PM

That was the what I was thinking, that it be provided in the drawingboard.dll. Then when you drop the control into your form, you can decide whether to enable the short cuts or not. Will need to investigate further.

FrankVerheyen wrote Dec 14, 2010 at 10:03 PM

added rudimentary keyboard mapping support,
for now, there is a one-to-one mapping for most of the toolbox buttons to commands...

keyboard-shortcuts like restricting the aspect of the rectangle bounding dragging etc. are of a different nature, and fit in more at the interactive dragging level while making the shapes... something for later.

cheers!
frank

wrote Oct 22, 2011 at 4:12 PM

wrote Feb 14, 2013 at 1:54 AM