Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    RichTextItem: how to catch keyDown/keyPress/keyUp

    Hi,
    I am trying the rich text item on chrome/linux. My question is how I can capture/override key events. I see in the RichTextCanvas methods like: _iFrameKeyDown.

    These are indeed called on keydown, but then the keyevent is handled natively.

    Is there a way I can override _iFrameKeyDown or another method to add behavior on keyPress/keyDown on the edit area within a rich text item?

    gr. Martin

    #2
    This should be causing the standard widget level "keyDown" / "keyPress" et al handlers to fire. It appears this is not working as expected in Chrome. We're taking a look.

    Regards
    Isomorphic Software

    Comment


      #3
      hi Martin - we've fixed key-handling for RichTextEditor in Chrome, in 8.3p and 9.0d. Just apply normal keyPress, etc, methods as usual. Please retest with a nightly of January 27 or later.
      Last edited by Isomorphic; 26 Jan 2013, 03:33.

      Comment


        #4
        Thanks, will try!

        This one is also solved (seems related) (will try it also)?
        http://forums.smartclient.com/showthread.php?t=25134

        gr. Martin

        Comment


          #5
          Yes, we would expect pressing Tab to tab out of the item - please let us know if you see any further unexpected behaviors

          Comment

          Working...
          X