Re: copying a graphic doesn't trigger a new graphic message

2004-03-19 Thread Dar Scott
On Thursday, March 18, 2004, at 08:20 PM, Richard Gaskin wrote:


It is too bad about cloning a card not sending new control messages.
I'm not so sure.  New control messages are sent when a control is 
cloned, no?
Well, we already have messages sent when a control is cloned.  If they 
are not sent under some conditions the docs should say so.

Keeping the messages limited to the object class seems merely 
efficient to me: imagine how many thousands of "new" messages would 
get sent if a "new" message was sent for every sub-object and you 
cloned a large stack.
OK, I'll back off.

One of the uses of a newGroup message is to register the group in some 
db.  Some alternate method would be needed.  This is not (yet) 
important to me.

Another use is to put a badge on card 1 of the stack if there is not 
one.  By this I mean a background that has an openStack handler to set 
up somethings for all groups of a certain kind.  This does not need to 
be done if a card is cloned or a stack is cloned.  So, this is OK.

Dar

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: copying a graphic doesn't trigger a new graphic message

2004-03-18 Thread Richard Gaskin
Dar Scott wrote:

It is too bad about cloning a card not sending new control messages.
I'm not so sure.  New control messages are sent when a control is 
cloned, no?

Keeping the messages limited to the object class seems merely efficient 
to me: imagine how many thousands of "new" messages would get sent if a 
"new" message was sent for every sub-object and you cloned a large stack.

For special cases where you might want that it's easy enough to get an 
equivalent result:

on newCard
  repeat with i = 1 to the number of controls
InitObject the long ID of control i
  end repeat
end newCard
on InitObject pObj
  -- do your initialization here
end InitObject
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: copying a graphic doesn't trigger a new graphic message

2004-03-18 Thread Dar Scott
On Wednesday, March 17, 2004, at 07:13 PM, Doug Lerner wrote:

I see what was happening. Copying an entire card at once does not 
trigger
the individual new graphic messages for each graphic control on the 
card.
But if the graphics are copied one-by-one the new graphic message is
triggered.
I think the IDE blocks new control messages under some conditions.  IDE 
paste and duplicate, for example.

It is too bad about cloning a card not sending new control messages.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: copying a graphic doesn't trigger a new graphic message

2004-03-17 Thread Doug Lerner
I see what was happening. Copying an entire card at once does not trigger
the individual new graphic messages for each graphic control on the card.
But if the graphics are copied one-by-one the new graphic message is
triggered.

doug

On 3/18/04 10:29 AM, "Doug Lerner" <[EMAIL PROTECTED]> wrote:

> If I create a new graphic manually in a card the new graphic message is
> sent. But if I copy a graphic from one card to another it doesn't seem as
> though the message is sent. Is this normal?
> 
> doug
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> This email has been screened by Engate Spam Sentinel

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


copying a graphic doesn't trigger a new graphic message

2004-03-17 Thread Doug Lerner
If I create a new graphic manually in a card the new graphic message is
sent. But if I copy a graphic from one card to another it doesn't seem as
though the message is sent. Is this normal?

doug

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution