Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!cs.utexas.edu!rice!sun-spots-request From: oppr@cardiac-ra.swmed.utexas.edu (Roger Opperman) Newsgroups: comp.sys.sun Subject: Scrolling Panels Keywords: Windows Message-ID: <9982@brazos.Rice.edu> Date: 17 Jul 90 15:22:29 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 13 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n251 X-Sun-Spots-Digest: Volume 9, Issue 266, message 2 >I have a frame with one panel inside of it. In this panel, I have a >toggle displayed vertically with about 5 choices in it. The panel is set >to a pretty small size...the choices go below the panel. I attached a >vertical scrollbar to this window and called panel_update_scrolling_size >after I created the toggle. The panel still refuses to scroll! It seems >to me that the scrollbar doesn't recognize the toggle as being there. Check out the scrollbars chapter in the SunView Programmers Guide (pp. 253-4 in the 4.1 manuals). You must set the SCROLL_NORMALIZE attribute to false or it will only scroll to the first element in your choice list. The section has a nice code example. Roger Opperman oppr@cardiac-ra.swmed.utexas.edu