Re: How do I redispatch event?

John Henry <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
I tried event.skip(True) but it doesn't do it.  After
I resize the combo box, I have to click it again for
the list to get displayed.

Annoying.  May be this is a wx issue.

--- John Henry <[email protected]> wrote:

> Hi list,
> 
> After I'm done with an event and I wish PythonCard
> to
> continue processing that event, don't I have to
> stuff
> the event back onto the event queue?  
> 
> For instance, let say I wish to change the width of
> a
> combo box when the user click on the selection list.
> 
> I need to do this at run time because there is no
> space for the field at design time.  So, I set up a
> event handler for the "select" event and change the
> width.  But then if I don't do anything, the list
> won't even open right.  If I do a event.skip(), the
> field gets wider, but then I have to click on the
> selection again.  So, it appears that I need to
> redispatch the "select" event after I'm done with
> it.
> 
> At least that's what one has to do in native Windows
> programming.
> 
> Anybody knows?
> 
> Regards,
> 
> 
> 
> 
> --
> John Henry
> 


--
John Henry

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.