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 _creating_
the box, which gives the user no time to edit it. You need to read the
text only after the user has pushed a button to indicate that they have
finished editing.
Regards,
Malcolm
-------------------------------------------------------------------------
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