Lingo Dictionary > D-F > editable |
![]() ![]() ![]() |
editable
Syntax
member(
whichCastMember
)
.
editable
the editable of member
whichCastMember
sprite(
whichSprite).
editable
the editable of sprite
whichSprite
Description
Cast member and sprite property; determines whether the specified field cast member can be edited on the Stage (TRUE
) or not (FALSE
).
When the cast member property is set, the setting is applied to all sprites that contain the field. When the sprite property is set, only the specified sprite is affected.
You can also make a field cast member editable by using the Editable option in the Field Cast Member Properties dialog box.
You can make a field sprite editable by using the Editable option in the Score.
For the value set by Lingo to last beyond the current sprite, the sprite must be a puppet.
This property can be tested and set.
Example
This statement makes the field cast member Answer editable:
member("Answer").editable = TRUE
Example
This handler first makes the field sprite in channel 5 editable:
on myNotes sprite(5).editable = TRUE end
Example
This statement checks whether a field sprite is editable and displays a message if it is:
if sprite(13).editable = TRUE then member("Notice").text = "Please enter your answer below." end if
![]() ![]() ![]() |