Livecode Wiki

Specifies whether a grouped field's text is the same on all cards with that group.

Syntax:

set the sharedText of <field> to {true | false}

Examples:

set the sharedText of field "Section Marker" to true

Use the sharedText property to create labels or other fields with static text (the same on all cards where the field appears).

Changing the text on one card changes it on all the cards.

If the field's sharedText is false, it can have different text on each card where it appears, and changing the field's text changes it only on the current card.

If the field is a card field (not part of a group), its sharedText property has no effect.

See also: card (object),field (object),dontSearch (property),sharedHilite (property), BackgroundBehavior