checkboxlist query

G

Guest

I've used a checkboxlist control on my form..
i'm populating values dynamically at runtime to this list..
but when i do it, the checkboxes so added are remaining unchecked...
but I want a newly added item to be checked by default...

how do i do it? any good samples...
 
G

G Himangi

After you add the items in the checkedlistbox, use the SetCheckState or
SetItemCheckState methods to check the item.

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top