Is it possible to cancel a change event initiated by code. I am using a vertical scroll bar for data input. The scroll bar change event fires when the up arrow or down arrow buttons are picked so I have some code to handle that event. The scroll event executes the same code.
Elsewhere in the program I am manipulating the min, max, and value properties of the scroll bar based on the value in a text box. When this manipulation occurs, it fires the change event (I assume because the .value property changed.)
I want to keep the change event from occuring when the value of the scroll bar is changed in the code but it must still operate when the buttons are pressed. Is there a way to do this?
Thanks,
MattB
Elsewhere in the program I am manipulating the min, max, and value properties of the scroll bar based on the value in a text box. When this manipulation occurs, it fires the change event (I assume because the .value property changed.)
I want to keep the change event from occuring when the value of the scroll bar is changed in the code but it must still operate when the buttons are pressed. Is there a way to do this?
Thanks,
MattB