Take the 2-minute tour ×

I'm making an app with the Ubuntu SDK where a user has to enter a number as fast as possible. I have a textfield in a page, where he has to enter the number:

TextField {
    id: inputQuestion
    width: 100
    height: 50
    errorHighlight: true
    validator: IntValidator { }
    text: '?'

I have two questions about that:

  1. How can I make it so the TextField is automatically selected when the page opens? (the cursor is in the textbox)
  2. How can I make it so the numpad of the smartphone/tablet automatically opens when the page opens?
share|improve this question
add comment


Your Answer



Browse other questions tagged or ask your own question.