Results 1 to 3 of 3

Thread: [RESOLVED] Help with checkedlistbox

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2008
    Location
    Dominican Republic
    Posts
    733

    Resolved [RESOLVED] Help with checkedlistbox

    Hi, i need a little bit of help with the checkedlistbox.

    What i want to do is add a phrase or a reminder and if i check the checkbox of that item, i want the text to be strikeout (the text with a line in the middle) and when the form closes i want it be removed from the checkedlistbox.

    Any ideas?

    Thanks in advance!

  2. #2
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Help with checkedlistbox

    You'll have to customdraw the text of your checked listbox.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Help with checkedlistbox

    I'm not sure how eas that would be with a CheckedListBox. The documentation for the DrawMode property says that it's not intended to be used by application developers. I guess that's because custom drawing would prevent the check boxes being drawn. You might be better to use a ListView or DataGridView instead.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width