Windows Develop Bookmark and Share   
 index > Windows Forms General > ListBox problem....or bug in VS 2005
 

ListBox problem....or bug in VS 2005

I have a problem with ListBox.When i add it in a panel and set it's Dock property to Fill,obviosly it must fill the space in the panel,but there is a blank space in the bottom side of the panel.Even if i change it's BorderStyle to None,there is no change....But if i reduce the panel height everything is ok,of course i do not want to reduce the height of the panel in my application.The other thing i do is to set the Anchor property of the listbox to all sides,but i just can't to make it's heigth equals to height of the panel.There is always blank space in the bottow side of the panel!How to fix that problem?
vendir  Friday, August 03, 2007 10:33 AM

sorry change it to false

Muthu Krishnan. R  Friday, August 03, 2007 12:00 PM

SetIntergralHeight propertyof listbox to true

Muthu Krishnan. R  Friday, August 03, 2007 11:50 AM
That doesn't solve the problem.
vendir  Friday, August 03, 2007 11:58 AM

sorry change it to false

Muthu Krishnan. R  Friday, August 03, 2007 12:00 PM
That doesn't help either
vendir  Friday, August 03, 2007 12:54 PM
Actually it helps,sorry,my mistake.Thanks.
vendir  Friday, August 03, 2007 7:18 PM

You can use google to search for other answers

Custom Search

More Threads

• WebBrowser.Navigate() to Secure Site
• Imagelist, c# and MissingManifestResourceException
• InterpolationMode.HighQualityBicubic: Unwanted borders added to resampled graphic
• How can set font of a Control, programmatically ?
• error C2664 while trying to use menu.MenuItems->Add()
• Hex Editor Control
• Updater Component Breakes Shortcuts
• Please help me~~ ( Dot Matrix Print....)
• Treeiew does not support Up/Down arrow keys
• Docking & anchoring two windows