Copy and Paste form objects

mixail

Registered User.
Local time
Today, 20:45
Joined
Apr 25, 2010
Messages
18
Hi,

I have one stupid question ;)
I want to copy object from one form to another and to keep object name and event code behind it.
Is that possible, because i really stack with that? :confused:

I want simply to make Copy/Paste operation, but to keep there names and event code.

BR,
mixail.
 
This is a two stage operation.

1. design the source form and hight the object(s) and select Copy.
2. design the target form and select paste.

Repeat the above operations for the event code.

As this is a development issue no automation is provided.
 
Thanks
Bad news :(
 
It wouldn't be a HUGE task because procedures for an object are grouped together so all you do is highlight, Ctrl-C (copy), Ctrl-V (paste into new form). ;)
 
Now i saw that you also can call Private sub from other form.
This can be a solution.

Thanks

BR,
mixail
 
Last edited:
You can call a PUBLIC sub or function within a form from another form as long as the form is OPEN. If it's closed, then it will fail. So that really wouldn't work for you. You've still got to copy it :)
 
You can call a PUBLIC sub or function within a form from another form as long as the form is OPEN. If it's closed, then it will fail. So that really wouldn't work for you. You've still got to copy it :)

Ya
Thanks
 

Users who are viewing this thread

Back
Top Bottom