Atif Iqbal <[EMAIL PROTECTED]> wrote:
> 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.
In that case, you only need to modify your code a little, to move the
point at which you
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]
-- us
Atif Iqbal <[EMAIL PROTECTED]> wrote:
> I want to get string from text control, i tried like this
>
> stxt<- textEntry p [enabled := True]
> mytext <- textCtrlGetValue stxt
>
> but its not working 'mytext' remains empty always.
You are retrieving the text from the box immediately after _cr