On 4/23/06 12:26 PM, "Bill" <[EMAIL PROTECTED]> wrote:

> How come when you make a button a default button (on a card) using the
> property inspector it doesn't behave like a default button --- when you hit
> the return key the button does "push".
> 
> And how do you make it behave so?
> 
Consider that you make the button "default-style", not the default button.
You have the choice of using the default-style on several buttons on the
card, showing and hiding so that only one is visible at a time.  Using
multiple buttons would give you a flexible context sensitive user interface.

Of course, it would make sense to have all the of the default-style buttons
at the exact same location and shape, but that also can vary.

The key to Rev is messages and trapping them.
----In your case, try
on keydown

----or perhaps even
on rawkeydown

Both are in the docs.  This means you can trap all kinds of keys and
combinations, changing what they do on behalf of the user.

One of these should get to where you want to go.

Jim Ault
Las Vegas



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to