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. Fetching "Done" button clicked from TextField on iOS
Qt 6.11 is out! See what's new in the release blog

Fetching "Done" button clicked from TextField on iOS

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.1k 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.
  • D Offline
    D Offline
    DerHandwerk
    wrote on last edited by
    #1

    Hi,

    currently I am trying to fetch some text from a QML TextField after the user has pressed the enter key.

    @
    TextField
    {
    id: messageTextField

        Keys.onReturnPressed:
        {
             // message processing here
        }
    
    }
    

    @

    The code given above works on the desktop (e.g. OS X) but while running on iOS this key event is not triggered. On iOS I want to fetch an event that is triggered when the user pushes the "Done" button on the virtual keyboard. Is there a possibility to do that?

    Greetings

    DerHandwerk

    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