Mathematica > Dynamic Interactivity > Control Objects > Control >

Control

Control
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.
Control
represents a control with initial value .
  • Control supports the following variable and domain specifications:
{u,umin,umax}manipulator (slider, animator, etc.)
{u,umin,umax,du}discrete manipulator with step du
{u,{xmin,ymin},{xmax,ymax}}2D slider
{u,{u1,u2,...}}setter bar for few elements; popup menu for more
{u,{u1->lbl1,u2->lbl2,...}}setter bar or popup menu with labels for elements
{u,{True,False}}checkbox
{u,color}color slider
{u}blank input field
{u,func}an arbitrary control from a function
{{u,uinit},...}use initial value
{{u,uinit,ulbl},...}include label
{{u,...},...,opts}use the specified control options
  • The variable u in Control is automatically treated as a Dynamic object.
Generate an automatically chosen control for an iterator:
Generate an automatically chosen control for an iterator:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF