Double thumbed slider or equivalent? [message #31884] |
Mon, 26 August 2002 20:35 |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
Hi All,
I imagine that a lot of you face the situation whereby via your
IDL GUI you need to stipulate a start variable and a matching end
variable, e.g. start time 00:00 to end time 23:59, or start range
and end range, e.g. 1000km to 6000km.
I've always used sliders - one for the start quantity, one for the end,
which I think is faster and less error prone than typing into text
fields.
But I think a faster way still would be to have a slider "thingy"
that had the equivalent of two sliding thumbs - I think that's the
jargon
for the little doo-hickey that you grab with the mouse and move?
For example, a vertical range double thumbed slider might look like
this:-
_
6000 | |
| |
|=| -> End range of 5000 km
| |
| |
| |
| |
|=| -> Start range of 2000 km
| |
| |
1000 | |
-
I hope that diagram survives the trip intact!
If the two thumbs abutted each other, that would represent the miniumum
interval on the slider, say 100km in the range slider example above.
The returned value would be [start range, end range].
Any Object Gurus out there who would like to knock up something like
this?
I for one would be eternally, but pennilessly, grateful.
TIA,
Andrew
------------------------------------------------------------ -----------------
Andrew D. Cool .->-.
Electromagnetics & Propagation Group '-<-'
Intelligence, Surveillance & Reconnaissance Division Transmitted on
Defence Science & Technology Organisation 100% recycled
PO Box 1500, Edinburgh electrons
South Australia 5111
Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ -----------------
|
|
|