1

I have a FlowLayoutPanel in which i add some controls, Here are my properties

FlowLayoutPanel.AutoScroll = true;
FlowLayoutPanel.FlowDirection = FlowDirection.TopDown;
FlowLayoutPanel.WrapContents = false;

Now i want only the vertical scrollbar to be visible regardless of the size of the controls being added to the panel so i tried many solutions present here at stackoverflow with no luck also i tried

FlowLayoutPanel.HorizontalScroll.Visible = false;  

But the Horizontal scroll bar still visible for some reason.

Solutions i have tried

still Not able to Hide Horizontal Scrollbar of FlowLayoutPanel in WinForms Apps

How to disable horizontal scroll bar in FlowLayoutPanel?

Community
  • 1
  • 1
Roman Ratskey
  • 5,101
  • 8
  • 44
  • 67
  • If the similar question's answer does not work for you "for some reason", then please explain this mysterious reason. i.e Errors, debug info, etc. – Lee Taylor Dec 04 '13 at 18:03
  • @LeeTaylor, ofc by saying some reason is that no errors or anything but just that the scroll bar still appears... Also what kind of error do you expect from trying to hide the scroll bar ?!. – Roman Ratskey Dec 04 '13 at 18:04
  • 2
    We are used to a plethora of different errors, compile error, exception thrown, incorrectly rendered, etc. So help us out and describe more fully what you see and why it's different from what you expect. – Prashant Kumar Dec 04 '13 at 18:06
  • 1
    You can't just say that "all the solutions presented" don't work "for some reason". If you want you could provide links to questions you've seen and whose answers you've tried, and what happened when you tried them (scroll bar still shows? anything else?) But to blanketly assure closers that **all** the other possible solutions here "don't work" is just wasted typing. Be specific or don't bother. – Kate Gregory Dec 04 '13 at 18:08

0 Answers0