Hello,
How to know when a textInput has been modified ?
Thank you,
Christophe,
@yahoogroups.com
Sent: Thu, August 12, 2010 1:23:31 PM
Subject: [flexcoders] textInput modification
Hello,
How to know when a textInput has been modified ?
Thank you,
Christophe,
Adobe, in their infinite wisdom, removed the data property from Spark
TextInput.
There is an example of assigning bindable data to a variable for use in
the text value with Flex 4 at Binding to an MXML TextInput control
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6\
[Bindable]
public var collection:String = myDataProvider.data.name.[0];
Does that work?
On Thu, Jul 15, 2010 at 12:59 PM, mark.embrey mark.c.emb...@gmail.comwrote:
Adobe, in their infinite wisdom, removed the data property from Spark
TextInput.
There is an example of assigning bindable
I've tried many different types of events to trigger a blur when the user
leaves the text box it runs my event but nothing seems to work.
Anyone done this before?
private function init():void{
VIN.addEventListener(FlexEvent.VALUE_COMMIT, lookupvehicle);
//FocusEvent.FOCUS_OUT
In Flex 3 you could set an initial value for a textInput field like so:
mx:TextInput id=textinput1
text={data.name}
editable=true
/
I haven't been able to do this in Flex 4 -- does anyone know a way to achieve
the same result?
thanks in advance,
Tex
You can use binding, but there is no data property on a TextInput anymore, so
if you are creating a renderer, use MXItemRenderer or one of its subclasses.
On 5/19/10 7:21 PM, tex_learning_flex tex.learning.f...@gmail.com wrote:
In Flex 3 you could set an initial value for a textInput
It should work. Exactly what problem are you having?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of tex_learning_flex
Sent: Wednesday, May 19, 2010 7:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] textInput - Flex 4
I am using Flex 3. Is it possible to align the text in the TextInput control to
be vertically centered?
Hello,
I want that my text input accept only 2 characters maximum from A to Z.
How to specify it in my code ?
Thank you,
Christophe,
Hi everyone,
I was wondering if anyone could help me with a problem I have -- I need
to wire up an interface which calls for a ComboBox where the first item
in the dropdown is a TextInput control which remains static (ie. the
TextInput is always the first item in the list, even when the list is
Hi All,
I am using a custom item renderer in a TileList that has a TextInput
child allowing the EU to view and enter some text for the item. When
the user clicks on the TextInput it becomes focused however, when in
the focused state the L/R Arrow key events are hanlded by the parent
TileList not
Try stopImmediatePropagation(), but stopPropagation() should have worked
assuming you set it up correctly.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Greg Hess
Sent: Monday, January 05, 2009 9:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders
assuming you set it up correctly.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Greg Hess
Sent: Monday, January 05, 2009 9:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextInput ItemRenderer arrow keys change list
selection
Hi All,
I am
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TextInput ItemRenderer arrow keys change list
selection
Thanks Alex, much appreciated.
You where right, I didnt have it set up correctly, I was adding my
keyboard listener to the KEY_UP event and needed to be listening for
the KEY_DOWN
might have more work to do. There's a lot of code in List or DataGrid to
deal with it.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Greg Hess
Sent: Monday, January 05, 2009 11:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TextInput
Hi all,
With reference to
https://bugs.adobe.com/jira/browse/SDK-17426
Any idea to have a workaround to make TextInput to allow compact text
content?
Best Regards,
Chee Seng
If you don't have a lot of space for a label next to a TextInput, then
you may want to try using my TextInputPrompted class.
You use this class just like you would any other TextInput, but
there's an extra prompt property. Whatever you set prompt to is
displayed in the TextInput in light grey.
Hey all,
I have a question for you. I am trying to trigger an event when a
textinput validate is incorrect. Here is my code
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=MeChild()
mx:Script
I need to write a class that can contain either a TextArea or
TextInput as one of it's private parameters. Essentially it's a
composite component that can be either a TextInput or TextArea with
some additional properties. My problem arises from the fact that the
common ancestor to both of these
: Thursday, August 21, 2008 9:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextInput and TextArea ancestory
I need to write a class that can contain either a TextArea or
TextInput as one of it's private parameters. Essentially it's a
composite component that can be either
I'm working on an app that's been reskinned. When I use a TextInput
inside an Accordian, it causes the app to act funny. I've posted a
simple example which causes the negative result. Running the
application WITHOUT a skin (as it is) works as desired. When I add
mx:Style source='assets.css'
How is mx.controls.TextInput control used as an item renderer for
mx.controls.ComboBox control?
It is only in the display field. It is not the renderer for the
dropdown.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of chandruflex
Sent: Sunday, July 06, 2008 10:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextInput
I want to have a text input with nice rounded corners. You can't do
this through CSS but you can do it through scale 9 (i think).
Anyone have a link to an example? Black background preferred? I know
scale9.com has a lot of them but I haven't found one I could use.
-Nate
Hi
How otimize my component?
Sorry for my bad english!
Code component:
-
?xml version=1.0 encoding=utf-8?
mx:TextInput
xmlns:mx=http://www.adobe.com/2006/mxml;
change=change()
mx:Script
![CDATA[
public var
I have a form with a few TextInput components. I have a TextInput with
a NumberValidator as one of the form items. On this TextInput I have
coded the valid and invalid events to populate other fields depending
on what has been entered. My experience is that the valid event is not
working
I believe what you want to do is use the trigger and triggerEvent
properties of your NumberValidator, then use the NumberValidators valid
and invalid events to do the work. To try this remove the event
handling from your existing code and try the following
mx:NumberValidator source={testTXT}
Hi,
I have the following code and I want to set the textInpt can not
edited,But I do not know why the following code do not work.
Please help me.Thanks
Mark
1
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;
width=880 height=1300 creationComplete=init()
2
private function
TextInput.editable expects a Boolean value not a String.
local_amount.editable = false;
prof_amount.editable = false;
Alger
markflex2007 wrote:
Hi,
I have the following code and I want to set the textInpt can not
edited,But I do not know why the following code do not work.
Please
Hi,
I'm trying to use the example that Alex has on his blog for a combobox
header, but I want a label then textInput as my header. I need to be
able to get events from the textinput. Unfortunately, it won't let me
enter any text into the field. I get events for focus in and change,
but no text
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of j_lentzz
Sent: Monday, December 17, 2007 2:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextInput as Header Renderer problem
Hi,
I'm trying to use the example that Alex has on his blog for a combobox
header, but I want
I'll take a look at flexlib, but just to clarify, I don't just want % in
the field - when the value in the model is 100, I want 100%, and I want
the user to be able to type 100 or 100%. Thanks.
On Dec 11, 2007 7:01 PM, Adnan Doric [EMAIL PROTECTED] wrote:
Hello,
I would go for :
Flexlib:
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Wednesday, December 12, 2007 9:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TextInput for percentage
I'll take a look at flexlib, but just to clarify, I don't just want % in
the field - when
Any ideas on the best approach to implementing a text input for percentage
values? I haven't found any built-in validators/formatters. Basically I just
want the field to display the % sign, allow it to be typed in, and strip it
out when processing the value. Thanks.
Hello,
I would go for :
Flexlib: PromptingTextInput.prompt = % +
PromptingTextInput.restrict=0-9 + NumberValidator 0-100
Cheers,
Adnan
Richard Rodseth wrote:
Any ideas on the best approach to implementing a text input for
percentage values? I haven't found any built-in
If you have text in a TextInput control that is longer than the
control you get a undesirable behavior. When take the the cursor to
the end of the TextInput control and leave it, only the last part of
the file name is displayed when the control loses focus.
I tried a few different ways to force
Did you try:
focusOut=myTI.horizontalScrollPosition = 0
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Ritchie
Sent: Tuesday, September 04, 2007 11:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextInput control
Hello,
I have a number of TextInput controls that I'm using with Validators
(phoneNumber, email, etc).
It all works correctly, except that I want an ENTER (or RETURN) to bump
the user out of the field (therefore triggering the validator).
Any ideas how to do this? Will RESTRICT allow
, 2007 5:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextInput vs. ENTER key.
Hello,
I have a number of TextInput controls that I'm using with Validators
(phoneNumber, email, etc).
It all works correctly, except that I want an ENTER (or RETURN) to bump
the user out
Is there a way to stop a TextInput control from displaying its I-bar
when I hover over it? I have previously set a custom cursor to display
and I would like it to stay the same when it moves over a TextInput
control.
Thanks,
Troy
How do you get a text input to hide the characters you type in like you do with
input type=password in HTML?
Set displayAsPassword to true on the text input field.
Karl
Cynergy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chad Gray
Sent: Tuesday, March 27, 2007 5:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] textInput for passwords
How do you get
Hi all,
Seems to me that focus events in TextInputs are a bit out of whack.
The test application below should never allow focus on the
phoneNumberInput field, since its focusIn event immediately redirects
focus back to the zipcodeInput field.
However, the zipCodeInput field remains active (as
Hi,
Has any else found this?
The TextInput has a change event, which according to the docs
Dispatched when text in the TextInput control changes through user
input or data binding. This event does not occur if you use
ActionScript code to change the text.
The bit that seems broken is that it is
Hello All,
In all the examples I've seen for the CurrencyFormatter when it comes to
using a TextInput for displaying the data, it requires TWO TextInputs -
one that contains the value to be formatted, and one that displays the
finally formatted data.
Isn't there a way, where the same TextInput
I seem to be experiencing a minor bug with a TextInput and a StringValidator.
When the TextInput is not valid, a red halo appears around the focussed TextInput.
I execute the validator.validate() on the change event so it updates as the user types data - as per the quick start
I've got a component that extends TextInput that I need to do some
extra stuff for validation with, so I've done the following:
override public function
validationResultHandler(event:ValidationResultEvent):void
{
have you tried focusOut event?http://livedocs.macromedia.com/flex/2/langref/flash/display/InteractiveObject.html#event:focusOut
On 28/07/06, ryan harlin [EMAIL PROTECTED] wrote:
I posted a similar question with more explanation but
I'll simplify since I
You could also use
the"valueCommit"event.
Benoit Hediard
De: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] De la part de
sinatoskEnvoyé: vendredi 28 juillet 2006
10:04À: flexcoders@yahoogroups.comObjet: Re:
[flexcoders] textInput autocommit?
have you tried "focus
wow. I feel really silly. The language reference for
the textInput control doesn't mention focusOut. It
only mentions 4 things under the events section:
change, dataChange, enter, and textInput.
But you're right. focusOut works like a charm.
*blush*
--- sinatosk [EMAIL PROTECTED]
On Friday 28 July 2006 16:33, ryan harlin wrote:
wow. I feel really silly. The language reference for
the textInput control doesn't mention focusOut.
You clicked 'Hide Inherited Events' didn't you :-)
Bang the 'Show Inherited Events' link just above the list of events :-)
--
Tom Chiverton
focusOut is an inherited event. If you expand the list of
inherited events, you will see it.
Stephen
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of ryan
harlinSent: Friday, July 28, 2006 11:33 AMTo:
flexcoders@yahoogroups.comSubject: Re: [flexcoders] textInput
I appologize if this is an old topic. I've searched the list and
cannot find any mention of it.
There appears to be a bug in Flex 2.0 B3 that if a user presses the
ESC key while focused in a TextInput control (or Editable ComboBox)
the control will revert to empty or the previous text value. The
, 2006 2:08 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TextInput and masking
Hello Gordon,
You are using RegExp in the sample, so two questions:
Can you tell me where I can get RegExp documentation?
Do we have RegExp in Flex 1.5, 2?
Best regards
Stanislav
On 5/14/06, Gordon
Is there a simple way of enabling a text input mask on the control or
do you need to write a custom component to extend the features
available with the textInput?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03
Sent: Saturday, May 13, 2006 8:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextInput and masking
Is there a simple way of enabling a text input mask on the control or
do you need to write
Hi,
Can
some one suggest me which event is the best event to handle a situation like -
user changes the content of textinput and tabs out of it ? I tried change
event and found that this event is firing for each change, meaning for every
key board press while entering text in it. I
PROTECTED] On Behalf
Of JesterXL
Sent: Monday, November 28, 2005
3:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
TextInput control
focusOut
- Original Message -
From: Doodi, Hari - BLS CTR
To: flexcoders@yahoogroups.com
Sent: Monday, November 28
- BLS
CTR
To: flexcoders@yahoogroups.com
Sent: Monday, November 28, 2005 3:54 PM
Subject: RE: [flexcoders] TextInput control
If I use focus this
event fire irrespective of whether content is modified or not. I dont want this
to happen. I want an event which should fire up only if content changed an
: [flexcoders] TextInput control
focusOut
- Original Message -
From:
Doodi, Hari - BLS CTR
To:
flexcoders@yahoogroups.com
Sent: Monday, November 28, 2005 3:42 PM
Subject: [flexcoders] TextInput control
Hi,
Can some one suggest me which event is the best event to handle a situation
. Which is a over load on system. Dont you agree with me???
Thanks!
Hari
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of JesterXL
Sent: Monday, November 28, 2005
4:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
TextInput control
ut()
{
if(textDirty)
{
textDirty =
false;
dispatchEvent({type: "changeAndFocusOut", target: this});
}
}
- Original Message -
From: Doodi, Hari - BLS
CTR
To: flexcoders@yahoogroups.com
Sent: Monday, November 28, 2005 4:13 PM
Subject: RE: [flexcoders] TextInput control
I totall
Thank you very much. I will try to
implement.
Thanks!
Hari
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of JesterXL
Sent: Monday, November 28, 2005
4:18 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
TextInput
Anyone have code to share to accomplish the following:
A blank TextInput
and populated List controls are used
As the user types
into the TextInput, the List control dynamically displays only words than match
what the user has entered thus far into the TextInput
When
When I pass no value coming from a textinput to a CFC called with
remoteObject and when the CFC is waiting for a numeric...How do I
configure the empty value before passing to the CFC?
CALL:
MethodName: EEwizard3.cf.superficie.sauvegarde
Parameters (object #2)
.[0]: 1
.[1]:
STATUS:
@yahoogroups.com] On Behalf Of Ghislain Simard
Sent: Sunday, July 24, 2005 10:35
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextInput
value passed to RemoteObject
When I pass no value coming from a textinput to a CFC called with
remoteObject and when the CFC is waiting for a
numeric...How do I
]
Sent: Monday, May 02, 2005 7:31 PM
To: Flex Coders
Subject: [flexcoders] TextInput selected
Hi,
it's possibile i call this TitleWindow, the ppv value is dispaly?
Sorry, i wish that the value is selected, in this way my end user
write a new value without clear a textInput.
Can you help me please
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TextInput selected
Work, thank's,
do you remember fscommand ;-) for you it's possibile to show/hide a
titleWindows popup style via fscommand?
for example my c++ app set fscommand('loading',true) and make
something, then set fscommand('loading
Hi,
it's possibile i call this TitleWindow, the ppv value is dispaly?
Sorry, i wish that the value is selected, in this way my end user
write a new value without clear a textInput.
Can you help me please?
Devis
?xml version=1.0 encoding=utf-8?
mx:TitleWindow
(0, len-1);
That would select the text in the TextInput.
Hope that helps...
-abdul
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Sent: Monday, May 02, 2005 7:31 PM
To: Flex Coders
Subject: [flexcoders] TextInput selected
Hi,
it's possibile i call
Hi to all,
stupid question
mx:TextInput id=tdsc width=100% text= enabled=false
keyDown=if (Key.isDown(113)) Elenco_Misure(Misure)/
i wish that TextInput is disable or readOnly but i can't fire keyDown
event, there's a method to do, i think if there is a readOnly property
this would work.
editable=false?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 12:11 AM
To: Flex Coders
Subject: [flexcoders] TextInput
Hi to all,
stupid question
mx:TextInput id=tdsc width=100% text= enabled=false
keyDown=if (Key.isDown(113
Hi,
I noticed that if I right click on a TextInput field the context
menu displays Cut, Copy, Paste, Delete and Select All. How can I
add an item to this menu?
In a DataGrid, when one selects the cell, one is able to edit it.
It appears that a TextInput is being displayed. I would like
thank's very much,
turning at times a problem the things they become simpler
Devis
-Original Message-
From: Dirk Eismann [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Date: Tue, 15 Mar 2005 14:20:56 +0100
Subject: RE: [flexcoders] TextInput Focused F2
Check for the key code 113
75 matches
Mail list logo