How do I redispatch event?
John Henry <[email protected]>
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------- 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/