|
-
May 26th, 2004, 03:11 AM
#1
Thread Starter
Lively Member
calling a button?
how would i call a button from another forum? i tried call form2.command2_click but doesnt work
-
May 26th, 2004, 03:26 AM
#2
Hyperactive Member
try
Code:
form2.command2.Value = True
-
May 26th, 2004, 03:57 AM
#3
KING BODWAD XXI
button click function is public isnt it
VB Code:
'WRONG
private sub command2_click()
'Right
Public sub command2_click()
-
May 26th, 2004, 04:37 AM
#4
Fanatic Member
By default, the click events are Private...you would therefore have to change it as shown by Bodwad....if any sub, function, or event is private, it can only be called from within the form that contains it.
"Knowledge is gained when different people look at the same information in different ways"
- Louis Pasteur
-
May 26th, 2004, 05:35 AM
#5
Frenzied Member
Actually,
form2.command2.Value = True
Works, it's how I always have clicked a button.
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
|