471,354 Members | 1,199 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Checked List Box

Does anybody know a way to change the checked status of an item in a
checkedListBox by code and not by clicking it?
Regards
Stephan
Jan 16 '06 #1
3 1225
Stephan Zaubzer wrote:
Does anybody know a way to change the checked status of an item in a
checkedListBox by code and not by clicking it?
Regards
Stephan


Try method SetItemChecked().

--
pzdr
yasam
Jan 16 '06 #2
Well, if you look at the documentation for the 'CheckedListBox' class, you
will see that there are member methods 'SetItemChecked' and
'SetItemCheckedState'.

-mdb

Stephan Zaubzer <st*************@schendl.at> wrote in news:Ohwx73qGGHA.344
@TK2MSFTNGP11.phx.gbl:
Does anybody know a way to change the checked status of an item in a
checkedListBox by code and not by clicking it?
Regards
Stephan


Jan 16 '06 #3
thanx...
I should read the documentation first... ;-)

yasam wrote:
Stephan Zaubzer wrote:
Does anybody know a way to change the checked status of an item in a
checkedListBox by code and not by clicking it?
Regards
Stephan

Try method SetItemChecked().

Jan 16 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Carlos Magalhaes | last post: by
26 posts views Thread by Simon Jefferies | last post: by
1 post views Thread by Dennis | last post: by
10 posts views Thread by dm1608 | last post: by
2 posts views Thread by Aaron Reimann | last post: by
reply views Thread by Soulless | last post: by

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.