On 4/8/06 9:42 PM, "Robert Lobsinger" <[EMAIL PROTECTED]> wrote:

> Mac OSX powerbook G3, RB 2005r4, 2006r1,2 :

> 
> I have tried setting the selected button to .default in the window keydown
> event, with no Return/Enter key result either.

This works for me (OS 10.4.5, same versions of RB).

> And there seems to be no way
> to turn off .default when jumping to the next button via the tab key in the
> window.keydown event. It seems to ignore button.default = false. I find that
> any button with the blue border - even a throbbing blue default button with
> the blue tab select border - won't fire with the Enter or Return key, and
> can only be activated by the spacebar (of all things), and the mouse.
> 
> Surely there is a way to tab-select the button I need, and fire it with the
> Enter or Return key?? What's the trick? It's almost automatic in Windows
> (which uses .setfocus instead of .default). Any idea what I missed?

I believe the SetFocus and LostFocus events do not fire. Use the .Default
property of the buttons. Make sure you do something like...


      PushButton1.Default=false
      PushButton2.Default=true

...in the window's KeyDown event handler.

 
> Regards,
> Robert 

Michael

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to