Thanks for the reply, Jack. For my purposes, using the up/down cursors has the same desired effect as using the mouse on the arrows. I have moved my IC code to Valid and added This.Valid() in UpClik() and DownClick(). The beahaviour is now exactly what I wanted.
Thanks to you and to all who helped. Henry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Skelley Sent: 2007-02-22 11:54 AM To: [EMAIL PROTECTED] Subject: Re: How is my spinner being populated? Henry: Upclick and downclick events are also fired from keyboard entry when the user spins the values using the cursor up/down keys. Same as spinning with the mouse. It goes without saying the that keypress event also fires on cursor entry to spin the values. The keypress event fires before the upclick and downclick event. If you wish to keep keyboard and mouse separate do your updates with the upclick/downclick and if the user presses the cursor keys in the keypress event issue a nodefault and if a digit is pressed allow that to be entered but not update the rest of the form until valid or lostfocus for the spinner is reached. Regards, Jack Skelley > Thanks for the reply, Jack. > > Any comments on Michael's UpClick/DownClick idea? > > Henry > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Skelley > Sent: 2007-02-22 11:05 AM > To: [EMAIL PROTECTED] > Subject: Re: How is my spinner being populated? > > > Henry: > In the keypress event for the spinner intercept the digits or even the cursor > keys to do what you wish. > They keypress event does not fire when the mouse is used to spin the values. > Regards, > > Jack Skelley > > > [EMAIL PROTECTED] wrote: > >>Hi, >> >>Is there a way to tell if spinner control is being populated from the >>Keyboard or through the spinner arrows? >> >>Reason: During ARROW entry, I want InteractiveChange to update totals. During >>KEYBOARD, entry, I should update totals in VALID instead (because of IC code, >>the spinner will only take one digit in the spinner control). >> >>Any help would be greatly appreciated. >> >>Henry >> >> >> > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

