Yeah, but a button and a InputText are in two different forms.
I am assembling my forms using "building blocks".

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Have the button.click handler and the keyboard event handler both 
call
> the same function.
> 
> Tracy
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, October 14, 2008 11:56 AM
> To: [email protected]
> Subject: [flexcoders] Even driven form
> 
>  
> 
> I am designing different data entry forms. They all have same 
> pushbutton Run. In a very simple scenario I would have a text field 
and 
> a button.I want to have same result whether the user clicks on a 
> button, or hits enter when he is done entering data into a text 
box. I 
> could probably simply execute button's click handler from a text. 
But 
> can I also do something like this? The button listens to some event 
> raised by diffrent forms and when a form raises a flag to run the 
> button executes its own click?
> Any idea of how to do that?
> 
> Thanks
>


Reply via email to