Re: Event handlers for Spin box

"Tony Cappellini" <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Thanks Neil!

That is odd- I've created on_MySpinBox_mouseDown
andon_MySpinBox_mouseUp handlers, but they are not called
when I click on the up/down arrows

> mouseDown
> textUpdate
> mouseUp
> mouseMove
>
> so you could use:
>
>      def on_Spinner_textUpdate(self, event):
>         print "Spinning..."
>
> but unless you are keeping track of the spinner's value before and after
> the textUpdate it does not look like you can tell whether you
> are...er...spinning up or down.
>
> Regards
> --
> Neil Hughes
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.