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 allclose all

Basic Examples  (2)

Disable graphics interactivity while keeping the Slider2D active:

Prevent panels and panes from having editable and selectable text:

Scope  (5)

Deployed cells cannot have their contents selected:

Deployed text can be selected in its entirety, but the contents cannot be selected:

Deployed typesetting constructs cannot have their contents selected:

Deployed graphics cannot be selected or resized, and their contents cannot be selected:

Deployed 3D graphics cannot be selected, resized, or rotated:

Properties & Relations  (5)

Controls will work inside Deploy even when deeply buried in deployed constructs:

Text inside of a deployed InputField can be selected and edited:

InputField can also be used without borders. The result looks like regular text:

Deploy overloads the Selectable and Editable options:

Setting Deployed->False allows the creation of an undeployed region:

The various functions that create dialog and palette notebooks deploy their contents automatically:

Wolfram Research (2007), Deploy, Wolfram Language function, https://reference.wolfram.com/language/ref/Deploy.html.

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_2024_deploy, author="Wolfram Research", title="{Deploy}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Deploy.html}", note=[Accessed: 04-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_deploy, organization={Wolfram Research}, title={Deploy}, year={2007}, url={https://reference.wolfram.com/language/ref/Deploy.html}, note=[Accessed: 04-December-2024 ]}