[IronPython] Form properties clarification
Dino Viehland
dinov at exchange.microsoft.com
Tue Aug 29 22:05:27 CEST 2006
This depends - if we failed to pass the assignment through, that would be a bug. But what the control should do is up to the control author. I would expect these to update immediately personally, but the control could define different semantics.
Is there any possibility you're setting this property from a non-UI thread which is causing the update to not occur? In winforms.py included w/ the tutorial we spin up a new thread and dispatch all console commands onto that thread to allow both the app to run and the user to use the console. I wouldn't expect this to get in the way, but if you were mixing and matching with a normal .py file that you import and the console maybe strange things could happen.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of jeff sacksteder
Sent: Monday, August 28, 2006 1:32 PM
To: users at lists.ironpython.com
Subject: [IronPython] Form properties clarification
If a form has one of it's properties changed(i.e. Text or ReadOnly) and that change is not immediately reflected in the visual representation of the control onscreen, is that automatically a bug?
Is it rather that some controls require that additional methods be called- for example, layout or refresh methods?
Is there a typical pattern here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060829/b7043ccb/attachment.html>
More information about the Ironpython-users
mailing list