Click here to Skip to main content
Licence 
First Posted 6 Mar 2006
Views 19,495
Bookmarked 13 times

CheckedListBox - on Tab Control - Selection Disappears - Solution

By | 6 Mar 2006 | Article
Checked List Boxes placed on Tab Pages, while toggling between tabs, the checked list box items are turned into unchecked items.

Introduction

This article provides an alternate solution to the bug found in the Microsoft Article for checked list box http://support.microsoft.com/default.aspx?scid=kb;en-us;833033.

Solution:

Step 1: Please add the checked list box control to a new user control.

Step 2: Move the checked list box to the 0,0 position of the user control

Step 3: Make the size of the checked list box to the size of the user control

Step 4: Make the anchor property of the checked list box to all the four sides

Step 5: Save the user control and use it in your forms instead of directly adding the check list box.

 

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

devarajchandra

Web Developer

United States United States

Member

Hi I am Chandru with 12 yrs of software development experience. Good to be with you great people.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 6 Mar 2006
Article Copyright 2006 by devarajchandra
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid