hi,
i have problem of setting cursor position in the text box. i am creating
a scientific calculator.In that i am entering numbers from keypad in the
calculator.
private function add(val:String):void
{
tf.text+= val.toString();
}
<mx:TextInput x="758" y="245" id="tf"/>
<mx:Button x="769" id="one" y="285" label="1" click="add(one.label)"/>
<mx:Button x="817" id="two" y="285" label="2" click="add(two.label)"/>
<mx:Button x="866" id="three" y="285" label="3"
click="add(three.label)"/>
i want to add the value where i keep the cursor.
i think u may understand my problem,
if anybody knows send me the solution,
regards,
santhosh.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---