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:

Introduced in 2007
 (6.0)