Results 1 to 2 of 2

Thread: VB (VB 5)

  1. #1
    New Lounger
    Join Date
    Jul 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    VB (VB 5)

    How do code a form to close after an event eg a cmdbutton click? Desperate!

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: VB (VB 5)

    Try

    Private Sub Command1_Click()
    Unload Me
    End Sub

    on a button called Command1

    Andrew C

Posting Permissions

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