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 <ec...@ya...> 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
|