I have a simple app that has two edittext fields. Upon entering valid data into the first edittext and pressing enter, I want it to go to the second edittext that is in a panel that I set visible true in the edittext1_EnterPressed sub.
I am setting the txtQuantity.RequestFocus in this sub. In designer I have set both of the fields ForceDone to true as well.
PnlQty.Visible = True
gbItem = txtItem.Text
txtQuantity.RequestFocus
When I run it in emulator/debug mode and step through it line by line, it works exactly as I expect and makes the panel visible and sets the focus in the edittext2 field but when I remove the debug stops and run it, the app skips right past the second edittext field and ends up setting focus on a button I have at the bottom of the active screen that is to be used when they are done looping through the first two fields.
Any suggestions?
Thanks!
I am setting the txtQuantity.RequestFocus in this sub. In designer I have set both of the fields ForceDone to true as well.
PnlQty.Visible = True
gbItem = txtItem.Text
txtQuantity.RequestFocus
When I run it in emulator/debug mode and step through it line by line, it works exactly as I expect and makes the panel visible and sets the focus in the edittext2 field but when I remove the debug stops and run it, the app skips right past the second edittext field and ends up setting focus on a button I have at the bottom of the active screen that is to be used when they are done looping through the first two fields.
Any suggestions?
Thanks!