lundi 27 juin 2016

Flex/AS3 Change a variable

I have this code. I need change variable DiagnosIsWritten=true, when input_diagnos (TextInput) is written something. Can you help me to say all ways, how i can do it.

<fx:Script>
        <![CDATA[
        public var DiagnosIsWritten:Boolean;
</fx:Script>

<s:DataGrid id="examsDG" >
      <s:columns>
            <s:ArrayList>
                <s:GridColumn  editable="true" headerText=" width="156" 
  itemRenderer="modules.PatientCardModule.moduls.ToothModule.renderers.examsDG_BiteRenderer"/>
    </s:ArrayList>
    </s:columns>
</s:DataGrid>


examsDG_BiteRenderer.mxml : 
<s:TextInput id="input_diagnos" text="test" width="100%" height="100%" />

Aucun commentaire:

Enregistrer un commentaire