Blend.J vertically-oriented sliders don't respond correctly

Article ID: 1054
Last updated: 02 Feb, 2008
Article ID: 1054
Last updated: 02 Feb, 2008
Revision: 1
Views: 3176
Posted: 16 Jul, 1998
by Dean J.
Updated: 02 Feb, 2008
by Dean J.
Problem


Vertically-oriented sliders don't respond correctly to mouse drag events or mouse click events.


Cause


The private method absToRel() incorrectly handles the vertical orientation of the control mark.

For Example: grabbing the mark and dragging it down pushes the mark to the top of the slider.




Action


To correct this behavior, replace the Slider.java and Slider.class in your Blend.J or StudioJ package with the replacement files listed below. These files contain a modified version of the absToRel() method that will solve the error.

To download these files, right click on the links below to display the file in your browser, and then save under the appropriate name by selecting Save Link As... or Save as... from the browser's File menu.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 1054
Last updated: 02 Feb, 2008
Revision: 1
Views: 3176
Posted: 16 Jul, 1998 by Dean J.
Updated: 02 Feb, 2008 by Dean J.
Attached files
item Slider.java (40 kb) Download
item Slider.class (16 kb) Download


Others in this category