Use of keyboard in forms

  • Martin
        5 years ago #14335

        Hi there,

        i would like to use keyboard in dialogs and/or screens.
        how do i mark the e.g. the save button for <Return> and the cancel for <Escape>?

        best regards & many thanks,
        Martin

        Attachments:
        You must be logged in to view attached files.
        Chris Bouveret
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
            Has successfully completed the online course Advanced (320)
            Has successfully completed the Intermediate Certification
            Has successfully completed the Advanced Certification
          5 years ago #14346
          Up
          2
          Down
          ::

          Hi there,

          please see this post to get an idea on how to integrate keyboard shortcuts to your App the “UI5 Way”: https://blogs.sap.com/2018/03/20/sapui5-enable-keyboard-shortcuts/
          Also there is e.g. KeyboardJS Library https://github.com/RobertWHurst/KeyboardJS that facilitates using keyboard events in general

          Hope that helps

          BR

          Martin
              5 years ago #14353
              Up
              -2
              Down
              ::

              hi chris,

              seems a bit tricky to me (for a non javascript pro + simplifier greenhorn) to get it done.
              where should i hook up the init event? and just copy & paste it there?

              but dont worry, its not high prio, only was curious about to have the same look and feel… 🙂

              br martin

            Viewing 3 posts - 1 through 3 (of 3 total)

            You must be logged in to reply to this topic.