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
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??
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.