Re: Linking onClick event to other controls on the Frame

2006-05-30 Thread DataSmash
Hi Miki, I appreciate you taking the time to figure out what I was trying to do. This is exactly what I was looking for. I plan on studing this code and looking at the wxpython demo as you mentioned. Thanks again! R.D. Harles -- http://mail.python.org/mailman/listinfo/python-list

Re: Linking onClick event to other controls on the Frame

2006-05-28 Thread Miki
Hello Harles, Please define "link" - is it bind event, get information from control, ...? If I'm guessing the you want to the the value of each control then you need to store a reference to this control and call the method that gets the value of each control. (GetValue() for most, GetStringSelecti

Linking onClick event to other controls on the Frame

2006-05-26 Thread DataSmash
Hello, I've created a simple form with 2 radio boxes, 2 text boxes and a button. When I click the button, I'd like to write each "choice" to a text file. I can't figure out how to "link" the onClick event to the other 4 controls. Any help would be much appreciated! R.D. Harles import wx, sys cla