Deploy[expr]
yields a deployed version of expr in which elements such as Slider, InputField, Locator and Button are active, but general editing and selection is disabled.
Deploy
Deploy[expr]
yields a deployed version of expr in which elements such as Slider, InputField, Locator and Button are active, but general editing and selection is disabled.
Details
- All objects with an Enabled option are kept active by Deploy.
- InputField[e] within a Deploy can be used to provide an editable version of any expression e.
Examples
open all close allBasic Examples (2)
Disable graphics interactivity while keeping the Slider2D active:
{Graphics[{Disk[], Inset[Slider2D[]]}], Deploy[Graphics[{Disk[], Inset[Slider2D[]]}]]}Prevent panels and panes from having editable and selectable text:
{Panel["This text is selectable and editable"], Deploy[Panel["This text is not selectable or editable"]]}Scope (5)
Deployed cells cannot have their contents selected:
Deploy[TextCell["This contents of this cell cannot be selected"]]Deployed text can be selected in its entirety, but the contents cannot be selected:
Deploy["You cannot select individual words or letters in this text"]Deployed typesetting constructs cannot have their contents selected:
{Deploy[Overscript["aaa", "bbb"]], Deploy[Pane["Unselectable text"]]}Deployed graphics cannot be selected or resized, and their contents cannot be selected:
Deploy[Graphics[{Disk[]}]]Deployed 3D graphics cannot be selected, resized, or rotated:
Deploy[Graphics3D[Cuboid[]]]Properties & Relations (5)
Controls will work inside Deploy even when deeply buried in deployed constructs:
Deploy[Graphics[{Disk[], Inset[Panel[Row[{"Checkbox: ", Checkbox[]}], Background -> StandardGreen]]}]]Text inside of a deployed InputField can be selected and edited:
Deploy[InputField["This text is selectable and editable", String]]InputField can also be used without borders. The result looks like regular text:
Deploy[InputField["This text is selectable and editable", String, Appearance -> "Frameless"]]Deploy overloads the Selectable and Editable options:
Deploy[Style["This text is not selectable or editable", Selectable -> True, Editable -> True]]Setting Deployed->False allows the creation of an undeployed region:
Deploy[Grid[{{"This text is not selectable or editable", Style["This text is selectable and editable", Deployed -> False]}}, Frame -> All]]The various functions that create dialog and palette notebooks deploy their contents automatically:
MessageDialog["This text is not editable or selectable."];Tech Notes
Related Workflows
- Build a Manipulate ▪
- Use Locator Controls
History
Text
Wolfram Research (2007), Deploy, Wolfram Language function, https://reference.wolfram.com/language/ref/Deploy.html.
CMS
Wolfram Language. 2007. "Deploy." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Deploy.html.
APA
Wolfram Language. (2007). Deploy. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Deploy.html
BibTeX
@misc{reference.wolfram_2026_deploy, author="Wolfram Research", title="{Deploy}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Deploy.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_deploy, organization={Wolfram Research}, title={Deploy}, year={2007}, url={https://reference.wolfram.com/language/ref/Deploy.html}, note=[Accessed: 12-June-2026]}