How to set focus

Ok, yes and no…

The focus goes on the buton buton Cancel, but a cursor stay in the first text field.

I tought that if we move the focus, the curose would go…

I have tried sevral thing to take out the cursor…

  • Name textfiedl transferFocus()
  • Name textfiedl nextFocus()
  • Name textfiedl transferFocusBackward()
  • Disable() and enabled() the Name textfield
  • buton Cancel requestFocus()

What is the name of the event called by “SHIFT + TAB” keys ?
Because, if I do SHIFT TAB, it does move the focus, and take out the cursor from the textfield…