ListView scrollbar problem

  • Thread starter Thread starter Bartol
  • Start date Start date
B

Bartol

Hi,

On one of my forms I have a ListView with Dock=Fill, a StatusBar with
Dock=Bottom and a VScrollBar with Dock=Right.
It all looks and behaves as one would expect, the only problem is the
ListView control doesn't display horizontal scrollbar as it should,
and as it does when the Dock property is set to Dock=None. It looks like
the StatusBar hides the scrollbar.
What am I doing wrong here?

Thanks,

Bartol
 
Hi Bartol
To solve this problem , set the listView docking to none then set it back
to fill . Or just remove the ListView and the re add it .
The cause of the problem here is that you did add the statusBar after you
had your listView . then when you did its docking it was meant to the
current status of the form ( over whatever existed on it) so it was set to
be over your Listview .
One more thing I need to mention, you don't need to have the VSscrollBar
since the list view do have a vertical scroll bar (unless you need it for
some other reason ) .

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Back
Top