Results 1 to 5 of 5

Thread: form activation

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Smile

    how do i get a command button to activate a form??

  2. #2
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    private sub command1_click ()
    form2.enabled = true
    end sub

    is that what you need?
    NXSupport - Your one-stop source for computer help

  3. #3
    Guest
    Actually Dimava, I think he wants it to be shown.

    Code:
    Private Sub Command1_Click() 
    Form2.Show
    End Sub

  4. #4
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    in that case you should also add

    form1.hide
    NXSupport - Your one-stop source for computer help

  5. #5
    Guest
    You could use the AppActivate Statement thingy.

    Code:
    Private Sub Form_Click()
        AppActivate "Form2"
    End Sub
    
    Private Sub Form_Load()
        Form2.Show
    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