editBackground

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the editBackground of <stack> to {true | false}
Synonymseditbkgnd,editbg
Associationsstack
Summary

Specifies that any objects created should be added to the background.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the editBackground of this stack to true
Values
NameTypeDescription
Value

The editBackground of a stack is true or false. By default, the editBackground property of newly created stacks is set to false.

RelatedProperty: relayerGroupedControls, groupIDs
Command: stop editing, group, start editing
Function: stacks
Glossary: object, property, current card, command, card control, object, background, group-editing mode
Object: stack, control
Description

Use the editBackground property to edit the first group on the current card, or to find out whether the stack is in group-editing mode.

If the editBackground property is set to true, any newly created objects become part of the group being edited. If the editBackground is false, newly created controls are created as card controls and only appear on the current card.

If the current card has more than one group, the group whose number is lowest is edited when you set the editBackground of the stack to true.

You can use the start editing command to edit a specific group. Setting the editBackground property to false is equivalent to the stop editing command.

By default, the editBackground is set to false. This property is not preserved when the stack is saved, the property will always be false upon opening a stack.

Tagsobjects