sprout@bellcore.bellcore.com (07/03/90)
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. Has anyone else had a problem similar to this? How did you solve it? Is it a documented bug? How do I get in touch with Sun to tell them about this? I have looked throughout the SV1 Programmer's Guide and can't find a phone number or e-mail address. Thanks for any help... Wayne Haber (201) 758-5582 sprout@maestro.bellcore.com
oppr@cardiac-ra.swmed.utexas.edu (Roger Opperman) (07/17/90)
>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