thanks       Malcolm!
I am new to Haskell and wxhaskell.
I want to get a string from one text box,process it  on button click and show 
the result  in another test box on the same window.
stxt    <- textEntry p [enabled := True]
 textlog <- textCtrl p [enabled := False, wrap := WrapNone] 
    -- use text control as logger
       textCtrlMakeLogActiveTarget textlog
       mytext  <- textCtrlGetValue stxt
       eval   <- button p [text := "Process", on command := logMessage mytext]

Do you mean I need to define an event handler explicitly indicating the end of 
input.which event??
Atif 


       
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to