Sorry Kenneth i should have said, i also have buttons that don't have
popups. 
I just want to disable this 'feature'. Do you know how i can do this?


--- In [email protected], "Kenneth Sutherland"
<kenneth.sutherl...@...> wrote:
>
> I remember coming across this issue quite a while back and it's because
> your new modal window hasn't taken the focus away from the button which
> opens the popup.  When you create and show the popup use the
> focusmanager to give a button or whatever you have in your popup focus.
> That way when the user presses space bar again it will not be 'clicking'
> the button which originally opened the modal window.
> 
>  
> 
> HTH Kenneth.
> 
>  
> 
> From: [email protected] [mailto:[email protected]] On
> Behalf Of gr33neye501
> Sent: 11 February 2009 14:46
> To: [email protected]
> Subject: [flexcoders] Stop Key press
> 
>  
> 
> How can i disable/ suppress the default behavior of a button, where if
> it has focus then space-bar key-press fires the click event.
> 
> Basically I want click to work as normal, but space-bar Key-press if
> it's the space bar, do nothing. 
> 
> This Key-Press/Spacebar issue allows Modal popup windows to be opened
> up - more than once, which defeats the point of modal popup window.
> 
> I'm using Flex 3 (not 3.2 and can't migrate at this stage.) 
> 
> Any help appreciated
> :-)
> 
> 
> 
> Disclaimer 
>
-------------------------------------------------------------------------------------------
> This electronic message contains information which may be privileged
and confidential. The information is intended to be for the use of the
individual(s) or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use
of the contents of this information is prohibited. If you have
received this electronic message in error, please notify us by
telephone on 0131 476 6000 and delete the material from your computer. 
> Registered in Scotland number: SC 172507. 
> Registered office address: Quay House 142 Commercial Street
Edinburgh EH6 6LB. 
> 
> This email message has been scanned for viruses by Mimecast.
>
-------------------------------------------------------------------------------------------
>


Reply via email to