Hi dork, how you doing?... Thanks for the info on this...
Have you managed to achieve this when using a NumericStepper for your form
objects? i...@ve just this out as an example:
http://flexmusings.wordpress.com/2008/10/30/using-default-button/
And it works when pressing ENTER in either of the TextInputs but if I pop a
NS control on the form and press ENTER from within that it doesn't invoke
the defaultButton?...
Here's my code: http://pastebin.com/65HwfuGf
Cheers for the help...
Nick
On 11 July 2010 01:26, dorkie dork from dorktown <
dorkiedorkfromdorkt...@gmail.com> wrote:
>
>
> the canvas tag has a defaultButton property that will dispatch a click
> event on your submitSearch button. i'm not sure what the eq would be in flex
> 4.
>
> On Sat, Jul 10, 2010 at 7:08 PM, Nick Middleweek wrote:
>
>>
>>
>> Hello,
>>
>> I've got a form with a few fields on, one being a numeric stepper. On the
>> TextInput, I can test the enter key being pressed using the "enter" event
>> but there doesn't appear to be an equivalent for the numericstepper...
>>
>> Has anyone managed to acheive this and how did you do it please?
>>
>> On enter, I want to dispatch a submitSearch event but can't seem to detect
>> this for the NS control..
>>
>>
>> Any ideas will be great..
>>
>>
>> Cheers,
>> Nick
>>
>>
>
>
--
Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, mobile: +44(0)774
035 5424, blog: http://blog.middleweek.co.uk } );