But if i click on the form, the dialog goes back of the original form, unlike a dialog should act.
The code for the dialogue is:
- Code: Select all Expand view
DEFINE dialog oDlg title titulo size 237,268
@ 02, 03 GET oNome_servico var _nome_servico SIZE 65, 10 PIXEL READONLY FONT oFont
@ 02, 70 GET oData var _data SIZE 45, 10 PIXEL READONLY FONT oFont
@ 13, 03 GET oNome_quarto var _nome_quarto SIZE 65, 10 PIXEL READONLY FONT oFont
@ 13, 70 GET oNome_refeicao var _nome_refeicao SIZE 45, 10 PIXEL READONLY FONT oFont
@ 24, 03 GET oNome_cama var _nome_cama SIZE 65, 10 PIXEL READONLY FONT oFont
@ 38, 03 say "Qtd: " size 45, 10 pixel
@ 38, 33 GET oQtd var _qtd SIZE 65, 10 PIXEL FONT oFont
@ 110, 23 button "&Gravar" size 35, 20 PIXEL action m_detalhe_gravar(oDlg, estado)
@ 110, 63 button "&Cancelar" size 35, 20 PIXEL action m_detalhe_cancelar(oDlg, estado)
ACTIVATE dialog oDlg
What am i doing wrong?
TIA,
Joaquim