So now I'm back to not understanding! I thought you were suggesting that decrimenting the value and then raising the event would let the code catch the violation of the SpinnerLowValue but I can see no such evidence.
Help me understand - if the value is decreased as a result of the mouse being clicked while the pointer is over the down button where is the value being decrimented if not in the down click event? Thanks - Joe On Mon, Mar 17, 2014 at 12:52 PM, Dave Crozier <[email protected]> wrote: > Joe, > The RaiseEvent only raises the code in that event NOT the actual event > that CAUSED tthe event i.e the value being updated. > > If you want to use the knock on effect of the RaiseEvent which then > increments the second spinner or sets its value then you need to increase > the initial spinner value in the button event i.e Spinner1.value = > spinner1.value+1 and then call the raiseEvent for upclick or downclick. > > You are trying to raise the state change by simply raising the event which > isn't possible. > > Dave > -----Original Message----- > From: ProFox [mailto:[email protected]] On Behalf Of Joe Yoder > Sent: 14 March 2014 05:51 > To: [email protected] > Subject: Spinner interactive change limit control etc > > I am trying to control the actions of two spinner controls so that the > value of one is always less than or equal to the other. My code is in the > interactive Change events but I don't know how to figure out whether the > event fired because of a requested increase or decrease in value. > > I would also like to programatically increase and decrease the values of > both spinners simultaneously with some extra buttons. My button code calls > the spinner's upclick and downclick methods but they don't seem to have any > effect. > > As always - any help will be appreciated. > > Thanks in advance, > > Joe > > > --- StripMime Report -- processed MIME parts --- multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cabqednvy5n952foesj4_ex0nqgpk13nzu1yntmzqqry0xrr...@mail.gmail.com ** 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.

