Move shapes with the keyboard?

4 posts, 2 answers
  1. Miguel
    Miguel avatar
    12 posts
    Member since:
    Oct 2013

    Posted 08 Nov 2016 Link to this post

    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?
  2. Answer
    Vessy
    Admin
    Vessy avatar
    1567 posts

    Posted 09 Nov 2016 Link to this post

    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.
  3. Miguel
    Miguel avatar
    12 posts
    Member since:
    Oct 2013

    Posted 11 Nov 2016 in reply to Vessy Link to this post

    Ah I see, thanks a lot for the example!
  4. Answer
    Vessy
    Admin
    Vessy avatar
    1567 posts

    Posted 13 Nov 2016 Link to this post

    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.
Back to Top