VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Clicks a button on another form without actually click the button on that form!

by Michael Le Brocq (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 4th July 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Clicks a button on another form without actually click the button on that form!

API Declarations


A command button on each form called command1

Rate Clicks a button on another form without actually click the button on that form!



Private Sub Command1_Click()
Form2.Command1.Value = True
End Sub

Form2 Code:
Private Sub Command1_Click()
MsgBox "Button has been clicked"
End Sub


Download this snippet    Add to My Saved Code

Clicks a button on another form without actually click the button on that form! Comments

No comments have been posted about Clicks a button on another form without actually click the button on that form!. Why not be the first to post a comment about Clicks a button on another form without actually click the button on that form!.

Post your comment

Subject:
Message:
0/1000 characters