1. wxEuphoria doEvents()

Is there an equivalent in wxEuphoria to win32lib's doEvents()?

I would like to be able to check a flag (which is set by pressing a radio
button) while inside a procedure called by pressing another button.  Maybe
I've coded it wrongly but the main window is totally unresponsive until
the procedure returns.

Thanks, Bob

new topic     » topic index » view message » categorize

2. Re: wxEuphoria doEvents()

Bob Elia wrote:
> 
> Is there an equivalent in wxEuphoria to win32lib's doEvents()?
> 
> I would like to be able to check a flag (which is set by pressing a radio
> button) while inside a procedure called by pressing another button.  Maybe
> I've coded it wrongly but the main window is totally unresponsive until
> the procedure returns.

Yes, there is, although for some reason I never wrapped it:
void = call_member( wxApp_Yield, myApp_this, {1})


Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: wxEuphoria doEvents()

Matt Lewis wrote:
> 
> Bob Elia wrote:
> > 
> > Is there an equivalent in wxEuphoria to win32lib's doEvents()?
> > 
> > I would like to be able to check a flag (which is set by pressing a radio
> > button) while inside a procedure called by pressing another button.  Maybe
> > I've coded it wrongly but the main window is totally unresponsive until
> > the procedure returns.
> 
> Yes, there is, although for some reason I never wrapped it:
> }}}
<eucode>
>     void = call_member( wxApp_Yield, myApp_this, {1})
> </eucode>
{{{

> 
> Matt

Thanks, Matt. ...just what I needed.

Bob

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu