ubbn/wxPython

Dynamic refresh or update

HSeffouh1 opened this issue · 2 comments

Hi, got a form by WXGlade / wxpython and willing to have fields set to be disabled based on combox values.
Struggling to have an approprite script for that.
any help guys please?
@DietmarSchwertberger
image

Define an event handlers for the combobox. Then set a debugger breakpoint on the handler.
http://wxglade.sourceforge.net/docs/source_code.html#hints-and-tips

But for such questions please post to the wxGlade mailing list if it's wxGlade specific. If it's about wxPython in general, please go to https://discuss.wxpython.org/

Define an event handlers for the combobox. Then set a debugger breakpoint on the handler.
http://wxglade.sourceforge.net/docs/source_code.html#hints-and-tips

But for such questions please post to the wxGlade mailing list if it's wxGlade specific. If it's about wxPython in general, please go to https://discuss.wxpython.org/

Thanks @DietmarSchwertberger for the tip, will take that in consideration in the future ;-)
now for the issue, yes i did that already and i just found out what was wrong, i should use wxEVT_COMBOBOX and not EVT_BUTTON :-)