Danny
|
| Posted: 08/24/2004, 4:38 PM |
|
When I copy and then paste an object, the resulting object doesn't contain the code that was in the original object's events. Am I missing something?
Danny
|
|
|
 |
Damian
|
| Posted: 08/25/2004, 6:04 AM |
|
You should right click somehere within the ibject and choose Copy Grid
"xxxx" or Copy Record "yyy". Then you should right click in the destination
and choose Paste Grid/Record....
"Danny" <Danny@forum.codecharge> wrote in message
news:5412bd15d1efbc@news.codecharge.com...
> When I copy and then paste an object, the resulting object doesn't contain
the
> code that was in the original object's events. Am I missing something?
>
> Danny
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Danny
|
| Posted: 08/25/2004, 11:51 AM |
|
Damian
I know how to copy and paste an object as a whole. The problem I'm complaining about is that the pasted object doesn’t contain any custom code I might have added to events in the original object.
Does it work differently for you?
|
|
|
 |
Damian
|
| Posted: 08/25/2004, 8:06 PM |
|
Cant say for sure... havent actually done that. You should be able to add
your code in again?
"Danny" <Danny@forum.codecharge> wrote in message
news:5412cdfcf8597d@news.codecharge.com...
> Damian
>
> I know how to copy and paste an object as a whole. The problem I'm
complaining
> about is that the pasted object doesn't contain any custom code I might
have
> added to events in the original object.
>
> Does it work differently for you?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Danny
|
| Posted: 08/26/2004, 1:24 AM |
|
Damian,
Sure I can add the code again. And this is what I've been doing so far…
But my point is that copy and paste should also work for the code inside the objects' events. It's no fun, and not very efficient, to start reviewing the original object to try and find out what code wasn't copied, and copy and paste each individual code snippet.
|
|
|
 |
DonB
|
| Posted: 08/26/2004, 11:14 AM |
|
YesSoftware did that for specific reasons. They described those reasons in
one of these forums. You can add a request for changing the behavior to the
Wishes forum.
--
DonB
http://www.gotodon.com/ccbth
"Danny" <Danny@forum.codecharge> wrote in message
news:5412d9e440de54@news.codecharge.com...
> Damian,
>
> Sure I can add the code again. And this is what I've been doing so far.
> But my point is that copy and paste should also work for the code inside
the
> objects' events. It's no fun, and not very efficient, to start reviewing
the
> original object to try and find out what code wasn't copied, and copy and
paste
> each individual code snippet.
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
travel-net
Posts: 56
|
| Posted: 08/27/2004, 12:28 AM |
|
Hello,
What i usually do is to drag the object to another position. Select the whole! object with your mouse and drop it elsewhere.
Works for all forms and objects, except placing on another page.
Regards,
Frans
|
 |
 |
Brandon
|
| Posted: 01/28/2005, 6:50 AM |
|
I second the request to have the copy/paste object, also copy/paste the custom code. I have a custom label that I want to appear on about 10 pages and its a pain to copy the object and then the code. I am glad it is only one event to copy.
|
|
|
 |
klw
|
| Posted: 02/03/2005, 3:46 PM |
|
Everything is copied IF you strickly rely on generated action code -
but we all like to (and need to) customize code eventually. 
I agree with you that copying an object should also mean copying
all associated code, but it's the ability to customize event code which
prevents a full object copy from one page to another.
Quote Danny:
When I copy and then paste an object, the resulting object doesn't contain the code that was in the original object's events. Am I missing something?
Danny
|
|
|
 |