({{, (RefLink[Control, paclet:ref/Control])[{u,dom}] 
represents an interactive control for the variable u in the domain dom, with the type of control chosen to be appropriate for the domain specified.}, {, (RefLink[Control, paclet:ref/Control])[{{u,(Subscript[u, init])},dom}]
represents a control with initial value (Subscript[u, init]).}})

OpenersNotesSection(Spacer1)Details

(RefLink[Control, paclet:ref/Control]) supports the following variable and domain specifications:

The variable u in (RefLink[Control, paclet:ref/Control])[{u,…}] is automatically treated as a (RefLink[Dynamic, paclet:ref/Dynamic]) object.

Options specified by (RefLink[Control, paclet:ref/Control])[{u,dom,opts}] are typically interpreted as they are in (RefLink[Manipulate, paclet:ref/Manipulate]).

The option setting (RefLink[ControlType, paclet:ref/ControlType])->type will attempt to use a control of the specified type.

opts may include option settings specific to the selected control.

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Generate an automatically chosen control for an iterator:

Control[{x,0,1}]

Control[{x,{a,b,c}}]

Control[{x,{0,0},{1,1}}]

OpenersExampleSection1(Spacer1)Scope  (2)

(RefLink[Control, paclet:ref/Control]) chooses the same controls as (RefLink[Manipulate, paclet:ref/Manipulate]) for the same control specification:

Control[{x,0,1}]

Use (RefLink[ControlType, paclet:ref/ControlType]) to choose a different control:

Control[{xy,0,1,ControlType -> Slider2D}]

Control[{int,0,1,ControlType -> IntervalSlider}]

Specify options specific to the selected control, such as (RefLink[Manipulator, paclet:ref/Manipulator]):

Control[{x,0,1,ControlType -> Manipulator, Appearance -> {"Open",Small}, AnimationDirection -> Backward, ImageMargins -> 30}]

(RefLink[IntervalSlider, paclet:ref/IntervalSlider]):

Control[{int,0,1,ControlType -> IntervalSlider,Method -> "Push",MinIntervalSize->0.1,Appearance -> "Labeled"}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Manipulate, paclet:ref/Manipulate])  ▪  (RefLink[Dynamic, paclet:ref/Dynamic])  ▪  (RefLink[Slider, paclet:ref/Slider])  ▪  (RefLink[Slider2D, paclet:ref/Slider2D])  ▪  (RefLink[SetterBar, paclet:ref/SetterBar])  ▪  (RefLink[FormControl, paclet:ref/FormControl])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Control Objects, paclet:guide/ControlObjects])}, {▪(RefLinkPlain[Interactive Manipulation, paclet:guide/InteractiveManipulation])}, {▪(RefLinkPlain[Options & Styling for Interactive Manipulation, paclet:guide/OptionsAndStylingForInteractiveManipulation])}})}})