|
-
Aug 27th, 2000, 08:37 PM
#1
how do i get a command button to activate a form??
-
Aug 27th, 2000, 08:46 PM
#2
Frenzied Member
private sub command1_click ()
form2.enabled = true
end sub
is that what you need?
NXSupport - Your one-stop source for computer help
-
Aug 27th, 2000, 09:11 PM
#3
Actually Dimava, I think he wants it to be shown.
Code:
Private Sub Command1_Click()
Form2.Show
End Sub
-
Aug 27th, 2000, 09:16 PM
#4
Frenzied Member
in that case you should also add
form1.hide
NXSupport - Your one-stop source for computer help
-
Aug 27th, 2000, 10:27 PM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|