Use NumericStepper to choose value : NumericStepper « Components « Flex






Use NumericStepper to choose value

Use NumericStepper to choose value
   
<?xml version='1.0' encoding='UTF-8'?>
<mx:Application 
    xmlns:s="library://ns.adobe.com/flex/spark" 
    xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
        
        import mx.controls.Alert;
        public function showMsg(msg:String):void {
            Alert.show(msg);
        }
      
    </mx:Script>
    <mx:Panel title="Profile">
        <s:VGroup>
            <mx:Label fontWeight="bold" text="Value 1:" />
            <mx:NumericStepper id="kids" minimum="0" maximum="10" stepSize="1" change="showMsg(kids.value.toString())" />

        </s:VGroup>
    </mx:Panel>
</mx:Application>

   
    
    
  








Related examples in the same category

1.Use NumericStepper as itemEditor for DataGridUse NumericStepper as itemEditor for DataGrid
2.NumericStepper with NumericStepper with <mx:NumericStepper>
3.Use NumericStepper as item editor for a column of DataGrid controlUse NumericStepper as item editor for a column of DataGrid control
4.Use NumericStepper control as an inline item editorUse NumericStepper control as an inline item editor
5.Use a NumericStepper control to define a custom item editor as an MXML componentUse a NumericStepper control to define a custom item editor as an MXML component
6.NumericStepper minimum, maximum, stepSizeNumericStepper minimum, maximum, stepSize
7.Use NumericStepper to set selected index for ListUse NumericStepper to set selected index for List
8.Use NumericStepper to control the size of a PanelUse NumericStepper to control the size of a Panel
9.Get value from NumericStepper and TextInputGet value from NumericStepper and TextInput
10.Contact Manager Panel with TextInput, NumericStepper, CheckBox, ColorPickerContact Manager Panel with TextInput, NumericStepper, CheckBox, ColorPicker
11.List NumericStepper cell rendererList NumericStepper cell renderer
12.Bind NumericStepper value to LabelBind NumericStepper value to Label
13.Specify the NumericStepper control as the item editor for a column of the DataGrid controlSpecify the NumericStepper control as the item editor for a column of the DataGrid control
14.Use NumericStepper, DateField, and CheckBox controls as the drop-in item renderers and item editors for a DataGrid control:Use NumericStepper, DateField, and CheckBox controls as the drop-in item renderers and item editors for a DataGrid control:
15.Use a NumericStepper control to edit the Price column of a DataGrid control.Use a NumericStepper control to edit the Price column of a DataGrid control.
16.Inline NumericStepperInline NumericStepper
17.Creating a simple inline item rendererCreating a simple inline item renderer
18.Inline NumericStepper RendererInline NumericStepper Renderer
19.Drop In NumericStepper item rendererDrop In NumericStepper item renderer