Is there a way for me to trigger events from the code, rather than from the
screen? For example, when using Spin Control, I have an EVT_SPINCTRL to
catch whenever the arrows (up/down) are clicked calling OnSpinChange(self,
event). Is there a way for me to call the OnSpinChange() from the code?
Could I modify the function call to
def OnSpinChange(self, event=None):
Also, I looked for an event to trigger a method if the value of the spin
control is changed by an edit (rather than using the spin control arrows),
but did not find one. Is there such a beast? Something like
EVT_SPIN_VALUE_CHANGED? I would hate for my users to edit the field and not
have it picked up by the program.
Thanks!
Greg Lindstrom
Acxiom Corporation, mail: CWY10011149
InfoBase Products Development office: (501) 342-1626
301 Industrial Blvd, Conway, AR, 72032 fax: (501) 336-3911
email: Greg.Lindstrom@acxiom.com
"Mojo, You're a Bad Monkey" Bubbles (Powerpuff Girl), after a failed
attempt by the evil Mojo to overtake the world.