|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to get checkedlistbox to display horizontalDoes anyone know how to get the checkedlistbox to display items
horizontally on a windows form? It seems that it only displays its check box items vertically (up and down), which is not what I want. I want to be able to use the CheckedListBox to display the days of the week going across (horizontally) a windows form. Thanks. Hello BostonNole,
> Does anyone know how to get the checkedlistbox to display items I'm pretty sure that CheckedListBox doesn't support that.> horizontally on a windows form? > > It seems that it only displays its check box items vertically (up and > down), which is not what I want. > > I want to be able to use the CheckedListBox to display the days of the > week going across (horizontally) a windows form. If you're mainly looking for the UI affect, you could have a FlowLayoutPanel and add a series of CheckBox's to it; one for each day of the week. It takes away the nicety of the CheckedListBox but it should have the UI you're looking for. -- Jared Parsons [MSFT] jared***@online.microsoft.com All opinions are my own. All content is provided "AS IS" with no warranties, and confers no rights. "BostonNole" <bostonn***@gmail.com> schrieb: Set the control's 'MultiColumn' property to 'True' and adjust the height of > Does anyone know how to get the checkedlistbox to display items > horizontally on a windows form? > > It seems that it only displays its check box items vertically (up and > down), which is not what I want. the control to show only a single item in vertical direction. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> That did the trick, thank you very much. I knew it had to be something
simple like that. Herfried K. Wagner [MVP] wrote: Show quoteHide quote > "BostonNole" <bostonn***@gmail.com> schrieb: > > Does anyone know how to get the checkedlistbox to display items > > horizontally on a windows form? > > > > It seems that it only displays its check box items vertically (up and > > down), which is not what I want. > > Set the control's 'MultiColumn' property to 'True' and adjust the height of > the control to show only a single item in vertical direction. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> |
|||||||||||||||||||||||