Dummy object

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
massung
Posts: 93
Joined: Thu Mar 19, 2009 5:34 pm

Dummy object

Post by massung » Sat Mar 28, 2009 12:53 pm

Sorry if this has been requested before, but with the advent of behaviors in 3.5, it would be extremely valuable to have a dummy object that can be created, placed, and/or cloned.

It wouldn't need to respond to all control messages (like mouseUp, etc), but being able to just have something to throw custom properties into, hold commands, functions, its own local variables, and be able to receive custom messages from other objects would be very handy.

Jeff M.

massung
Posts: 93
Joined: Thu Mar 19, 2009 5:34 pm

Post by massung » Sat Mar 28, 2009 1:11 pm

My apologies. I just noticed the QCC links and instead posted this request there.

Jeff M.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Mar 28, 2009 6:13 pm

Hi Jeff,

What would such a dummy object have that e.g. a hidden group, field or button doesn't have? Very often, I create an empty group and use that as a library, or I use a substack to store all kinds of objects that I need elsewhere in my project, including buttons with backscripts for instance.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

massung
Posts: 93
Joined: Thu Mar 19, 2009 5:34 pm

Post by massung » Sat Mar 28, 2009 8:35 pm

Nothing but purity, I suppose. With it perhaps being a stepping stone in the future for subclassing.

Jeff

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Post by FourthWorld » Sat Mar 28, 2009 9:46 pm

See the clone command.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply