Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Scrolling in Panels

Scrolling in Panels

Scheduled Pinned Locked Moved Visual Basic
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark06
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • M Mark06

      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

      M Offline
      M Offline
      MidwestLimey
      wrote on last edited by
      #2

      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:


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups