Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Not able to capture TAB key input in Textfield
Qt 6.12 LTS is out! See what's new in the release blog

Not able to capture TAB key input in Textfield

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 395 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    MTOLANI
    wrote on last edited by
    #1

    Tried using Keys.OnPressed and onTabPressed.
    All other keys Ctrl/Shift are being captured.

    TextField {
    id: xyz
    x: 156
    y: 47
    focus: true
    maximumLength: 3
    style: TextFieldStyle {
    textColor: "black"
    background: Rectangle {
    radius: 3
    color: "white"
    border.color: "#1ba7db"
    border.width: 1
    }
    }

    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
    • Unsolved