At 03:45 PM 4/19/2009, you wrote:
what key are you wanting to bind to? If Return, its all built in already. Anything descending from Container has a defaultButton property that you can assign to a Button instance

<http://livedocs.adobe.com/flex/3/langref/mx/core/Container.html>http://livedocs.adobe.com/flex/3/langref/mx/core/Container.html

Form and FormItem descend from Container, so you can use that in your Form.

That's a great idea for one button. But I'm going to have several buttons on a form (save, delete, print, etc., etc.,) so I need to be able to bind different keys to those different buttons. But the Save button would probably work as a defaultButton probably, so thanks for that info.


Laurence MacNeill
Mableton, Georgia, USA



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to