Setting

Setting[expr]

replaces forms and control objects such as sliders or popup menus in expr by their settings.

Details

  • When expr is a control object, Setting[expr] normally extracts the first argument of expr.
  • Setting[expr] replaces dynamic objects in expr by their current values.
  • When applied to the object created by Manipulate[e,{xi,},], Setting gives the value of e evaluated with the current settings for the xi.
  • When applied to a FormObject, Setting gives the value for each field deduced by applying "Interpreter" elements to "Input" fields.

Examples

open all close all

Basic Examples  (1)

Find the setting for a slider:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Introduced in 2007
(6.0)
|
Updated in 2014
(10.0)