I have a program which has a scrollbar in it and a clear button.
Within the scrollbar I have the change event coded so that it will do what it is supposed to do. (simple enough...)
I also have the clear button (cmdCLEAR_click) coded so that it will clean out and re-set everything
My error occurs when I re-set the value of the scrollbar to 0 within the cmdCLEAR_click event - because I am changing the value of the scrollbar, it goes to the scrollbar and
it starts going thru the code in there.
I know this is happening becuase the first part of my code within the scrollbar_change is errorhandling for bad values and it pops an error msg when that occurs.
This error msg is coming in when I am doing the CLEAR event.
What I need to know is - how can I re-set thev alue of the scrollbar iwthin the CLEAR event WIHTOUT tripping the change event of the scrollbar to do its thing?
HELP! Ive been fiddling with this for hours!
lmc
cryerlisa@hotmail.com
Within the scrollbar I have the change event coded so that it will do what it is supposed to do. (simple enough...)
I also have the clear button (cmdCLEAR_click) coded so that it will clean out and re-set everything
My error occurs when I re-set the value of the scrollbar to 0 within the cmdCLEAR_click event - because I am changing the value of the scrollbar, it goes to the scrollbar and
it starts going thru the code in there.
I know this is happening becuase the first part of my code within the scrollbar_change is errorhandling for bad values and it pops an error msg when that occurs.
This error msg is coming in when I am doing the CLEAR event.
What I need to know is - how can I re-set thev alue of the scrollbar iwthin the CLEAR event WIHTOUT tripping the change event of the scrollbar to do its thing?
HELP! Ive been fiddling with this for hours!
lmc
cryerlisa@hotmail.com