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. Display numeric keyboard in Windows Surface
Forum Update on Monday, May 27th 2025

Display numeric keyboard in Windows Surface

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 171 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.
  • C Offline
    C Offline
    Celine_123
    wrote on last edited by
    #1

    Hello,
    I work with a Windows Surface Pro 4 tablet and I want to display the numeric keyboard automatically when the user clicks on a TextField.

    I tried :

    TextField {
        inputMethodHints: Qt.ImhFormattedNumbersOnly
    }
    

    But It does nothing. I also tried other inputMethodHints values but that doesn't work either.

    Any ideas ? Will I have to code my own keyboard?

    Thanks.

    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