I have a form with a tab-panel showing a listview form.
On the listview form there’s a button to add a new record
controller.newRecord(false)
mbs_item = ""
controller.saveData()
elements.mbs_item.requestFocus(false)
application.output('focus gained') // so I can test in debug.
Previously this worked fine in Developer. Now it doesn’t - the focus goes briefly to the mbs_item field then nowhere. The only change was upgrading to 3.1.4.
Stepping through the method in debug shows that the field gains focus, but loses it as soon as the method terminates. No other method is triggered. I also note that the ‘e’ symbol in the status bar reappears once the method terminates, suggesting unsaved data, but which table?
Can anyone suggest where I should start digging? what events can be going on here, that could explain the observed behaviour?