Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multicolumn checklistbox 1

Status
Not open for further replies.

Jetski5822

Programmer
Joined
Jan 24, 2005
Messages
10
Location
GB
Okay, this is proberly a silly question but here goes,

I would like to be able to input data in to a check list box, where for example

int LineNo; would go in to one column and
string strLine; would go in to the other

and i can then call each column as i see fit,

any ideas?

thanks Nick
 
The MultiColumn property of CheckedListBox is only to display many items without a vertical scroll bar. You can't put two columns for each item.
In order to do that, use the ListView control. Set the View property to "Details", and the CheckBoxes property to true.
 
thanks alot, given u thanks :)

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top