Home Flex Simple Text display
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

Simple Text display

Advertisement
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>


  

 

Advertisement

Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: February 16, 2005

Ask Questions?    Discuss: Simple Text display  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
anurag
September 12, 2012
javascript

display a text box and submit button before it whatever value i enter in text box the same no of textbox display and each textbox has a submit button before it as soon as submit the text comes out from the text box.
DMCA.com