Windows Develop Bookmark and Share   
 index > Windows Forms General > cant get scroll bar to be visible
 

cant get scroll bar to be visible

I have a Listview that is in a TabControl that is in a panel.  the scrollable property is set to true but there is no scroll bar. it is hard to read anything in the 4th column unless I drag the first 3 columns to be only 1 character wide.  I have tried having the autoscroll property on the panel both ways with no luck.
  • Moved byTaylorMichaelLMVP20 hours 56 minutes agoWinForms related (From:Visual C# General)
  •  
DarylKanary  21 hours 25 minutes ago
Well, I was going to suggest that perhaps you hadn't docked the ListView or the TabControl (to the .Fill setting), but that doesn't seem to matter (I just tried it) ... I get the scroll bar ok whether anything is docked or not. In fact, you should see the scroll bar at design-time as soon as you add a column that makes it too wide. Do you see it at design-time at all?
~~Bonnie Berent [C# MVP]

(new blog --- not many posts yet --- be patient)
geek-goddess-bonnie.blogspot.com
BonnieB  9 hours 21 minutes ago
Hi DarylKanary,

According to your post, I know that you have set View property of ListView to View.Details. In that case, ListView will show VScrollBar as well as HScrollBar when necessary by default.

Can you please check your code to see if you have set Scrollable property to false?

Sincerely,
Kira Qian
Send us any feedback you have about the help from MSFT at fbmsdn[At]microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework!
Kira Qian  3 hours 32 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• WMS multicast
• Change installer header
• trying to generate a html page from a windows service and send by mail
• parsing html...
• javascript
• Listview Bug? inconsistent scrollinfo (specifically nPage) setting for listview
• How to assign an ID to a TreeNode in my TreeView
• When Microsoft will stop to offer support for Windows Forms?
• Update database
• Forms Location