You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Scott Matheson <sm...@intralinks.com> on 2014/02/11 22:28:58 UTC
Question about textInput
Hi
i have be struggling with a few questions to do with textInput
how do i colour the back ground
how to i remove the blue line round the input when the box has focus
how to i set the courser to a position
<s:RichEditableText id="activityinput" width="772" height="28"
ligatureLevel="minimum"
styleName="WordsEnabled" verticalCenter="0"
backgroundColor="{_u.user.workAreaColour}"/>
the above works, but the docs say you should not user RichEditableText is you want to create module apps (which i do later)
so i tried
<s:textInput/> but can not set the background colour
activityinput.setFocus() set the focus but not at say position 10
and the nice blue box round the outside, how do i get ride of that ?
________________________________
Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.
Re: Question about textInput
Posted by mark goldin <ma...@gmail.com>.
<how to i remove the blue line round the input when the box has focus
How about:
activityinput.focusManager.hideFocus();
On Tue, Feb 11, 2014 at 3:28 PM, Scott Matheson <sm...@intralinks.com>wrote:
> Hi
> i have be struggling with a few questions to do with textInput
>
> how do i colour the back ground
> how to i remove the blue line round the input when the box has focus
> how to i set the courser to a position
>
>
> <s:RichEditableText id="activityinput" width="772" height="28"
>
> ligatureLevel="minimum"
>
> styleName="WordsEnabled" verticalCenter="0"
>
> backgroundColor="{_u.user.workAreaColour}"/>
>
>
> the above works, but the docs say you should not user RichEditableText is
> you want to create module apps (which i do later)
>
>
> so i tried
>
>
> <s:textInput/> but can not set the background colour
>
>
>
> activityinput.setFocus() set the focus but not at say position 10
>
>
>
> and the nice blue box round the outside, how do i get ride of that ?
>
>
>
>
>
>
> ________________________________
>
> Disclaimer: This electronic mail and any attachments are confidential and
> may be privileged. If you are not the intended recipient, please notify the
> sender immediately by replying to this email, and destroy all copies of
> this email and any attachments. Thank you.
>
Re: Question about textInput
Posted by Scott Matheson <sm...@intralinks.com>.
I think the kay for me is
The TextInput skin for the mobile theme uses the StyleableStageText class
instead of RichEditableText
I will drop TextInut and change to StyleableStageText class, I got it
wiring with RichEditableText
Thanks
On 2/11/14, 10:58 PM, "Mark Kessler" <ke...@gmail.com> wrote:
>Styles will allow you to change the contentBackgroundColor or the
>focusAlpha
>[1].<http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/sp
>ark/components/supportClasses/SkinnableTextBase.html#style:contentBackgrou
>ndColor>
>
>[1]
>http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/c
>omponents/TextInput.html#sparkstyleSummary
>
>-Mark
>
>
>On Tue, Feb 11, 2014 at 4:28 PM, Scott Matheson
><sm...@intralinks.com>wrote:
>
>> Hi
>> i have be struggling with a few questions to do with textInput
>>
>> how do i colour the back ground
>> how to i remove the blue line round the input when the box has focus
>> how to i set the courser to a position
>>
>>
>> <s:RichEditableText id="activityinput" width="772" height="28"
>>
>> ligatureLevel="minimum"
>>
>> styleName="WordsEnabled" verticalCenter="0"
>>
>> backgroundColor="{_u.user.workAreaColour}"/>
>>
>>
>> the above works, but the docs say you should not user RichEditableText
>>is
>> you want to create module apps (which i do later)
>>
>>
>> so i tried
>>
>>
>> <s:textInput/> but can not set the background colour
>>
>>
>>
>> activityinput.setFocus() set the focus but not at say position 10
>>
>>
>>
>> and the nice blue box round the outside, how do i get ride of that ?
>>
>>
>>
>>
>>
>>
>> ________________________________
>>
>> Disclaimer: This electronic mail and any attachments are confidential
>>and
>> may be privileged. If you are not the intended recipient, please notify
>>the
>> sender immediately by replying to this email, and destroy all copies of
>> this email and any attachments. Thank you.
>>
________________________________
Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.
Re: Question about textInput
Posted by Mark Kessler <ke...@gmail.com>.
Styles will allow you to change the contentBackgroundColor or the
focusAlpha [1].<http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/SkinnableTextBase.html#style:contentBackgroundColor>
[1]
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/TextInput.html#sparkstyleSummary
-Mark
On Tue, Feb 11, 2014 at 4:28 PM, Scott Matheson <sm...@intralinks.com>wrote:
> Hi
> i have be struggling with a few questions to do with textInput
>
> how do i colour the back ground
> how to i remove the blue line round the input when the box has focus
> how to i set the courser to a position
>
>
> <s:RichEditableText id="activityinput" width="772" height="28"
>
> ligatureLevel="minimum"
>
> styleName="WordsEnabled" verticalCenter="0"
>
> backgroundColor="{_u.user.workAreaColour}"/>
>
>
> the above works, but the docs say you should not user RichEditableText is
> you want to create module apps (which i do later)
>
>
> so i tried
>
>
> <s:textInput/> but can not set the background colour
>
>
>
> activityinput.setFocus() set the focus but not at say position 10
>
>
>
> and the nice blue box round the outside, how do i get ride of that ?
>
>
>
>
>
>
> ________________________________
>
> Disclaimer: This electronic mail and any attachments are confidential and
> may be privileged. If you are not the intended recipient, please notify the
> sender immediately by replying to this email, and destroy all copies of
> this email and any attachments. Thank you.
>