[IronPython] Windows Forms interactively
kristof.wagemans at gmail.com
Fri Jun 30 15:58:49 CEST 2006
I'm trying to make my own console control that can run inside a window. I've
come across a problem that I haven't got a solution for. I can demonstrate
the problem with one of the tutorials.
If you try Tutorial 2 - Exercise 2 - Task 1 and follow all the steps from 1
through 4 you end up with a visible form. If you then run the command
input() in the console the form locks up until you enter a value. The
ReadLine instruction blocks and because all commands are dispatched to the
GUI thread it gets executed there instead of on the console thread. Is there
a solution for this problem? I think it would require detecting when a
ReadLine is issued and then not dispatching this special case and run it on
the console thread.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users