comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » WIDGET Q: Button-group forced scroll
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
WIDGET Q: Button-group forced scroll [message #19148] Sat, 26 February 2000 00:00
kashyap is currently offline  kashyap
Messages: 26
Registered: April 1993
Junior Member
Hello,

Is there a way to make the scrollable output of CW_BGROUP
forcibly scroll to (say) the middle of the list of buttons?

For example, I have a call to CW_BGROUP that goes somewhat
like this:
pars_list=cw_bgroup(base_pars,btnlist,/column,/nonexclusive, $
/return_index,/scroll,set_value=ilist,y_scroll_size=275)
where BTNLIST is a string array and ILIST is a long array.

What I would like to have is a keyword or parameter that says
"move the scroll bar such that LIST[SCROLL_TO_INDEX] is shown
at the top visible position," something that would work like
SET_LIST_TOP does for WIDGET_LIST. (It so happens I can't use
WIDGET_LIST in this particular application, for some pretty strong
aesthetic reasons.)

Any ideas for workarounds? Hacks?

Thanks much,
Vinay
--
____________________________________________________________ __________________
kashyap@head-cfa.harvard.edu 617 495 7173 [CfA/P-146] 617 496 7173 [F]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with IDLgrROI and normalization.
Next Topic: IDL enhancements (was Re: idl2matlab translate-o-matic)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:40:52 PDT 2025

Total time taken to generate the page: 0.00552 seconds