SIAMFLEX

My flex project

Textinput ใส่แต่ตัวเลขเท่านั้น

| Filed under Adobe Flex Builder

การทำให้ Textinput ใส่ได้แต่ตัวเลขเท่านั้น ให้เติม

<mx:TextInput id="mytxt" maxChars="10" restrict="0-9"/>

แค่นี้เราก็จะได้ TextInput ที่กรอกได้เฉพาะเลข 0-9 แล้ว

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>