Windows Develop Bookmark and Share   
 index > Windows Forms General > scrollbar of flowlayoutpanel
 

scrollbar of flowlayoutpanel

Hi, it is possible only to show the vertical scrollbar and disable the horizontal scrollbar of the flowlayoutpanel?
Nise1990  Thursday, October 08, 2009 9:31 AM
i  found the answer as below

 

Hi Co2r.

The HScrollBar appear because once the VScrollBar displayed, it hasn't enough space to show it. So you can set the Padding property of the FlowLayoutPanel to give it enough space. In the property window of FlowLayoutPanel, find the Padding property, extend it, set the Right sub-property of it to 20 for example. Now, you won't see the HScrollBar.

Hint, if you start a thread to ask a question, don't set its type to "General Discussion".

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
i set the right sub property to 20 or even 100..  still the horizontal scrollbar appear.
Nise1990  Thursday, October 08, 2009 9:35 AM

You can use google to search for other answers

Custom Search

More Threads

• How to create a registration dialog?
• carriage return in a textbox.
• Adding ColumnName to a DropDownList
• Explorer style application, Split Container with With treeview behaving like a menu in Panel 1.
• custom ListBox Problem with Items.Add()
• Image size wrong
• How to trasforme from byte to bit?
• Looking for a good ASP .Net book
• how to lock the keyboard windows buttons (the button between ctrl and alt)
• Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on you