Scrolling in Panels
-
Hi, I have a control, which contains a flow panel, with textboxes being added dynamically at runtime. The flow panel docking is set to fill the control, and its flow direction is set to TopDown. I want the control to be scrollable, incase there are more textboxes added at runtime than fit the original size. So I enable Autoscroll for the FlowPanel. However, I get both updown and leftright scrollbars. I simply just want the updown scrolling. Anyone know how I can force this, or find a way around it? Any response gratefully appreciated
-
Hi, I have a control, which contains a flow panel, with textboxes being added dynamically at runtime. The flow panel docking is set to fill the control, and its flow direction is set to TopDown. I want the control to be scrollable, incase there are more textboxes added at runtime than fit the original size. So I enable Autoscroll for the FlowPanel. However, I get both updown and leftright scrollbars. I simply just want the updown scrolling. Anyone know how I can force this, or find a way around it? Any response gratefully appreciated
If the contents of the panel fit within the width of the panel then the horizontal scrollbar shouldn't appear. I just tested this out of curiosity. Are you sure the contents aren't being clipped horizontally? Perhaps an overhanging label? Otherwise you could expand the panel until all contents fit.
I'm largely language agnostic
After a while they all bug me :doh: