I have a form with one dialog.
This form has some objects that i call with @ ... get.
The value of the respective variables changes as i click buttons on the form (i use the 'obj:refresh()' method to do it). The display of the get objects changes accordingly.
Then i call the dialog...
When i come back to the form 'obj.refresh()' don't work anymore...
I click the same buttons, the value of the variables change (i know it because i display it's value with 'msginfo()') but the objects that represent it in the form don't display the according value.
What could be wrong?
TIA,
Joaquim
Oh boy... another problem (now with refresh)
- Antonio Linares
- Site Admin
- Posts: 37485
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37485
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Joaquim,
Solved: you are reusing the same variables names in your PRG so you are changing their containts. Just declare this line in your PRG:
Solved: you are reusing the same variables names in your PRG so you are changing their containts. Just declare this line in your PRG:
Code: Select all
function m_dialogo(estado)
LOCAL titulo, area
local oNome_servico, oData, oNome_quarto, oNome_refeicao, oNome_cama, oLinhax // NEW !!!
...