Home Flex Simple Text display



Simple Text display
Posted on: February 16, 2005 at 12:00 AM
In this tutorial we will come to know that how to display any text in a text input box using a button click.

Simple Text display

     

 

In this tutorial we will come to know that how to display any text in a text input box using a button click. It is very simple to develop and quick to understand. We will develop a panel in flex and within that flex panel we have to use a button and a textinput box which are present in flex.

 

 

 

SimpleText.mxml

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
  <mx:Panel title="New"  height="125"   x="150" y="20" layout="absolute">
  <mx:TextInput id="text1" width="100" x="0" y="0"/>
  <mx:Button label="click me" click="text1.text='howdy'" x="15" y="50"/>
  </mx:Panel>

</mx:Application>


  

 

Related Tags for Simple Text display:


More Tutorials from this section

Ask Questions?    Discuss: Simple Text display  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.