From: <dan...@po...> - 2006-08-09 15:24:58
|
Problems with the Dialog widget. Hi there, I am trying to "catch" the information sent by the Dialog widget, but ,it seams that the parent frame goes on without waiting for the dialog answer... I think.... The code goes like this: in one function i have this code: . . do{ mRes <- display state; putStrLn $ show mRes; . . in the display function i have: diaW <- dialog theFrame [ text := "ffff" , visible := True , resizeable := True , clientSize := sz 200 300 ] ... showModal diaW $ \stop -> do set ok [on command := ......] which should return something... when the button that triggers de dialog is pressed mRes is printed but the dialog is still opened waiting for user input. Some help, please. Thanks Daniel Mendes __________________________________________________________ Sabe quanto gasta com a sua ligação à Internet? Verifique aqui: http://acesso.portugalmail.pt/contas |