Tag Archive for 'gettextfield()'

08
May

Determining the number of lines in a TextArea control in Flex

The following example shows how you can get the number of lines in a Flex TextArea control by using the getTextField() method (in the mx_internal namespace) and the numLines property.

Full code after the jump.

Continue reading ‘Determining the number of lines in a TextArea control in Flex’

25
Apr

Setting text selection on a TextArea control in Flex

The following example shows how you can set the selected text in a Flex TextArea control by using the setSelection() method.

Full code after the jump.

Continue reading ‘Setting text selection on a TextArea control in Flex’