On Jul 7, 2011, at 10:11 AM, Joe Ranieri wrote:

> On Thu, Jul 7, 2011 at 09:35, Alfred Van Hoek <[email protected]> wrote:
>> So, what is the appropriate way to prevent REALbasic to respond to the 
>> mnemonic of a pushbutton's caption??
> 
> Why do you want to do this? If the button has an underlined character,
> the user expects to be able to use the mnemonic to trigger it,
> regardless of the context.
> 

Also when the control has the focus? I mean, if the control accepts a tab to 
tab text, then you don't want REALbasic to advance the tab to the next control. 
The same holds for the arrow keys. Fortunately, we can capture them in the 
keydown event and handle them accordingly.

So you are saying that if a user designs a GUI with the lexing control and 
pushbuttons with &cancel, &go, etc, that the action events of these buttons 
should fire when a c or g is typed in the control that has the focus?? I mean, 
the textarea is not affected when such buttons live on the window.

- Alfred Van Hoek
[email protected]
http://web.mac.com/vanhoek



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to