Controls in a stack

Phil Davis revdev at pdslabs.net
Tue Jan 22 15:36:40 EST 2013


One more thing to note about unplaced BGs - they and their contents are 
not in the message path. So any hidden handlers in there won't respond 
to normal message-passing. I haven't tried "dispatch" or "send" to them.

Phil


On 1/22/13 12:22 PM, J. Landman Gay wrote:
> On 1/22/13 2:02 PM, Peter Haworth wrote:
>> Thanks Phil.
>>
>> As mentioned, I haven't really played with backgrounds very much so this
>> may be a stupid question but why would you want to have a background 
>> that
>> doesn't appear on any card?  I can see that might happen 
>> inadvertently when
>> backgrounds get deleted but is there a practical use for unplaced
>> backgrounds?
>
> One excellent use is for storage. All referenced controls can go there 
> without taking up room on any card. In fact, when you import a 
> HyperCard stack, all the icon images are put into an unplaced 
> background automatically as part of the process.
>

-- 
Phil Davis





More information about the use-livecode mailing list