Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.