last few hours I tried to get the refresh of an textfield working. When I select some values from a dropdoanmenu, a textfield which I use as an outputfield (another column in a database, but from the same dataset) on the same document (writer) won't be refreshed! It's refreshing, as I click insinde the textfield, but I want do have it immidiately after select something in the dropdownmenu.
Code: Select all
objForm = ThisComponent.DrawPage.Forms(0)
oText = objForm.getByName("AusgabeTextfeldNettopreise").Text
'objForm.getByName("AusgabeTextfeldNettopreise").commit(True)
'objForm.updateRow()
'oText.reload() 'at this point script stop working: no variable declared