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...

Re: checkboxlist query by G

G
Sat May 05 05:23:15 CDT 2007

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
---------


"AVL" <AVL@discussions.microsoft.com> wrote in message
news:E6C6173C-B24D-437E-97A9-F41625A3D54D@microsoft.com...
> 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...