From: Malcolm W. <Mal...@cs...> - 2007-06-11 11:03:35
|
Atif Iqbal <cs_...@ya...> 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 |