[Scilab-users] uicontrol "edit"

Stefan Du Rietz sdr at durietz.se
Fri Nov 9 10:03:43 CET 2012


On 2012-11-08 21:36, Samuel Gougeon wrote:
--------------------
> Le 08/11/2012 19:25, Stefan Du Rietz a écrit :
>> is this intended or a bug in uicontrol: when I press a button, an
>> edit field is not updated with the last written text. I have to
>> either press return in the edit field or move focus elsewhere.
> Likely yes, it is intended. This behavior has been reported here:
> http://bugzilla.scilab.org/show_bug.cgi?id=6349#c1

Imagine a simple but useful GUI with an edit field for user input and 
an OK-button. When the user has written some characters (which [s]he 
can see!), [s]he presses the OK-button and its callback function reads 
an empty string!

If this is intentional, you have to tell me how to handle it! What am 
I supposed to do?

Regards
Stefan




More information about the users mailing list