Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Focus on two items simaltaeneously

Focus on two items simaltaeneously

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 484 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AYYAPPA
    wrote on last edited by AYYAPPA
    #1

    hello,

    i have two qml items , one item "TextField" and other "CustomKeyboard" . on press of "TextField" "CustomKeyboard" popsup.
    i have written onkeypressed handling in "CustomKeyboard" which has focus active when its displayed on the press of "TextField", but then "TextField" is loosing its focus and the cursor is not blinking.
    is it possible to have both items on focus at same time and handle a keypress differently in both items ?

    raven-worxR 1 Reply Last reply
    0
    • A AYYAPPA

      hello,

      i have two qml items , one item "TextField" and other "CustomKeyboard" . on press of "TextField" "CustomKeyboard" popsup.
      i have written onkeypressed handling in "CustomKeyboard" which has focus active when its displayed on the press of "TextField", but then "TextField" is loosing its focus and the cursor is not blinking.
      is it possible to have both items on focus at same time and handle a keypress differently in both items ?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @AYYAPPA said in Focus on two items simaltaeneously:

      is it possible to have both items on focus at same time and handle a keypress differently in both items ?

      no.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved