Results 1 to 6 of 6

Thread: Mark a checkbox to true?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Mark a checkbox to true?

    I add items to a checkbox, how do I set mark the value to checked?
    Code:
    chkSystem1.Items.Add(CStr(Textbox139.Text))

  2. #2
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: Mark a checkbox to true?

    im not too sure what u mean,
    theres a thing ".checked "
    try messing with that after the check boxes name,
    im a newbie but that might help a bit, lol
    it works 60% of the time, all the time.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Mark a checkbox to true?

    As you can see I just add items without ID's, so I can't set the checked property. That is what I wish to set, when I add the new item.

  4. #4
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: Mark a checkbox to true?

    a check box on the web form

    maybe this

    chkboxname.Checked = True
    it works 60% of the time, all the time.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Mark a checkbox to true?

    Yes I know, but the main problem is that I don't give the new checkboxes a names as you can see, I only add items

  6. #6

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