Results 1 to 2 of 2

Thread: Check box question.

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Posts
    10

    Check box question.

    I have three check boxes and a text box. If I click the one of the check boxes I want the name of that check box to appear in the text box.

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Re: Check box question.

    Originally posted by pmr
    I have three check boxes and a text box. If I click the one of the check boxes I want the name of that check box to appear in the text box.
    Name or caption ???

    VB Code:
    1. Option Explicit
    2.  
    3. Private Sub Check1_Click()
    4.     Text1.Text = Check1.Name
    5. End Sub
    6.  
    7. Private Sub Check2_Click()
    8.     Text1.Text = Check2.Name
    9. End Sub
    10.  
    11. Private Sub Check3_Click()
    12.     Text1.Text = Check3.Name ' Check3.Caption
    13. End Sub

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