Move shapes with the keyboard?

4 posts, 0 answers
  1. Miguel
    Miguel avatar
    8 posts
    Member since:
    Oct 2013

    Posted 08 Nov 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. Vessy
    Admin
    Vessy avatar
    1382 posts

    Posted 09 Nov 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. UI for ASP.NET MVC is VS 2017 Ready
  4. Miguel
    Miguel avatar
    8 posts
    Member since:
    Oct 2013

    Posted 11 Nov in reply to Vessy Link to this post

    Ah I see, thanks a lot for the example!
  5. Vessy
    Admin
    Vessy avatar
    1382 posts

    Posted 13 Nov 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
UI for ASP.NET MVC is VS 2017 Ready