This is a migrated thread and some comments may be shown as answers.

Move shapes with the keyboard?

3 Answers 51 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Miguel
Top achievements
Rank 1
Miguel asked on 08 Nov 2016, 05:15 PM
Hi! Is there a way to move the shapes in the diagram with the arrow keys? Or I'd need to do it myself capturing key events and moving the selected shapes?

3 Answers, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 09 Nov 2016, 03:13 PM
Hi Miguel,

The diagram does not provide a built-in key navigation, but you can attach a handle the standard key events and move the shape depending on the pressed key by changing its bounds() in a similar way:

http://dojo.telerik.com/@veselinar/aMUpU

Regards,
Vessy
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
0
Miguel
Top achievements
Rank 1
answered on 11 Nov 2016, 07:23 PM
Ah I see, thanks a lot for the example!
0
Accepted
Vessy
Telerik team
answered on 14 Nov 2016, 04:49 AM
Hi,

You are welcome, Miguel. Let us know whenever further Telerik related assistance is needed.

Regards,
Vessy
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
Diagram
Asked by
Miguel
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Miguel
Top achievements
Rank 1
Share this question
or