Text box automatically focus when the page is loaded
this can be solved using the tab index.
Widget to focus first = tab index 0
Other widgets should ave tab index 1 and up. < this is key!
🚴René van Hofwegen🎓
I solve the problem! Layout of my page makes a problem because objects in the layout also have the option 'Tab index'. When you change the 'Tab index' of those objects from layout to higher value, everything works correctly.