Spinner Control Anomaly

2016-01-19 Thread Richard Caruso
I've been struggling with a bug and it came down to a spinner control. I've gleaned a lot from this community and thought I'd pass my solution along for comments/suggestions. I am using a spinner control with the control source gnYear. Clicking on the up/down spinner arrows changes the value of w

Re: Spinner Control Anomaly

2016-01-19 Thread Ted Roche
Generalizing this, a Control's .Value changes as you diddle with the display, but the control doesn't commit the .Value to the bound data until the Valid() returns .T., iow, you have a chance to validate the data. This is the normal flow of events when tabbing through controls, but doesn't catch al

RE: Spinner Control Anomaly

2016-01-20 Thread Richard Caruso
Thanks Ted, that was a huge help! -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Ted Roche Sent: Tuesday, January 19, 2016 3:57 PM To: profox@leafe.com Subject: Re: Spinner Control Anomaly Generalizing this, a Control's .Value changes as you diddle