Re: Writing data to textarea within a button mouseClick event

Alec Bennett <[email protected]> Thu, 23 Dec 2010 03:13:36 -0800
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Maybe with wx.Yield() or wx.SafeYield()?





On Thu, Dec 23, 2010 at 3:09 AM, Teuvo Eloranta <[email protected]> wrote:

> Hello,
>
> I have a problem with updating TextArea component's content.
>
> I have a loop inside a button's _mouseClick handler, in which I update
> MultiColumn and StaticText component's contents -> these are updated in real
> time ok.
> However when in that very same loop I try update a content of TextArea
> component (with any of it's methods) the Textarea is updated AFTER I exit
> the _mouseClick handler?
> All text fed (in a loop) to the TextArea component appears at once, after I
> have exited the _mouseClick handler.
>
> Can I avoid this behavior somehow? I need to be able to update the TextArea
> inside the loop, real time.
>
> Thanks for any help,
>
> Teuvo
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Pythoncard-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users