Bill wrote:
I thought this might be what I would have to do. Thanks. And thanks for the
explanation as to why changing the button to "default" is really just for
the style.
It's customary to trap the Return key and the Enter key to handle
default buttons:
on returnKey
-- myStuff
end returnKey
on enterKey
-- myStuff
end enterKey
on myStuff
-- do default button behavior
end myStuff
Put these in the card, and they will only trigger if no field text is
selected. If you want it to trigger even if a field has the focus, then
also use enterInField. You probably don't want to use returnInField
though, because that would block carriage returns in the text.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
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