How to catch wxchoice events.

Hello listers.

i need to catch wxchoice events so everytime the user choices the rest of the panel widgets change according to the selection …

how will that be implemented? setting a timer and everytime read the GetCurrentSelection ? or there is something built in that catchs everytime the selection changes?

Hope i have explained correctly.

Thxs in advance

···


monoBOT

Visite mi sitio(Visit my site): monobotblog.alvarezalonso.es

Hi,

···

On 11/06/2011 01:36 PM, monoBOT wrote:

Hello listers.

i need to catch wxchoice events so everytime the user choices the rest of the panel widgets change according to the selection ...

how will that be implemented? setting a timer and everytime read the GetCurrentSelection ? or there is something built in that catchs everytime the selection changes?

The wxPython demo is your friend for this type of thing. Start it search for Choice and try it out, whenever you select an item you will see in the log message panel some output. That will give you the hint you are looking for (EVT_CHOICE).

Werner