473,387 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to get checkedlistbox to display horizontal

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.

I want to be able to use the CheckedListBox to display the days of the
week going across (horizontally) a windows form.

Thanks.

Jul 11 '06 #1
3 24713
Hello BostonNole,
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.

I want to be able to use the CheckedListBox to display the days of the
week going across (horizontally) a windows form.
I'm pretty sure that CheckedListBox doesn't support that.

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]
ja******@online.microsoft.com
All opinions are my own. All content is provided "AS IS" with no warranties,
and confers no rights.
Jul 11 '06 #2
"BostonNole" <bo********@gmail.comschrieb:
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/>

Jul 12 '06 #3
That did the trick, thank you very much. I knew it had to be something
simple like that.
Herfried K. Wagner [MVP] wrote:
"BostonNole" <bo********@gmail.comschrieb:
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/>
Jul 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Harlan Messinger | last post by:
Is IE6 known to have a bug whereby a vertical table cell border (with border-collapse: collapse), instead of stopping at the bottom of a horizontal border, sticks up into it by one pixel? My other...
1
by: Chibi | last post by:
Hello! I'm back again with another problem. First of all, thank you to Jacob for helping me understand a bit more about NNTP commands. So now the problem: I have a collection of...
0
by: | last post by:
David, A partial answer to your question: The 'MultiColumn' property of a CheckedListBox does not cause it to display multiple FIELDS of an item... it causes it to display the items...
0
by: Robert W. | last post by:
In my WinForms app I've added a CheckedListBox to the top of one of my forms. In it will be some checkboxes that are used to do filtering of the data on the form. The number of checkboxes that...
6
by: Steve Teeples | last post by:
Can someone show me an example of how to place a "CheckedListBox" property within a PropertyGrid? -- ----------- Thanks, Steve
1
by: malpani.abhijit | last post by:
Hi, I am having a ListView component in my WinForm, when i add some images into it, it gives me a vertical scroll bar. What i want is, the horizontal scrollbar instead of vertical. Is there any...
0
by: Alex | last post by:
Any idea on how to manually activate the horizontal scrollbar on a listbox? I'm using ownerdrawfixed mode to color list items and it seems to work ok, but the scrollbar won't show at all.
1
by: David_from_Chicago | last post by:
I am developing an application in Access 2000 (A2K) which has multiple forms and subforms. Until now, all subforms displayed scroll bars properly (according to the subform's property setting). ...
3
by: Rocky38 | last post by:
I need a web page to be made with a horizontal image and a vertical image running at the top and left side of the page respectively.. I have used body { background-image:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.