>There is no provision for this in the Mac interface. However you may be
>willing to define your own non-standard behaviour: I might suggest for
>example, surrounding the current button with a custom "marquee" graphic, or
>setting the default of the current button to true to give it a default
>border. Depending on how non-standard you are willing to get, you could even
>do something like setting the foreGroundColor (foreColor) of the current
>button to a color other than black.
>
> > 2) Can a shortcut character be set as part of the label of a button
> > so the user can ALT-x (Win) or CMD-x (Mac) instead of mouse clicking?
>
>Yes. Set the mnemonic property of your button to the number of the letter on
>the button that you would like to have pressed. The modifier key will be the
>default for the platform (i.e. command/alt)
>
>You may set the accelKey of the button instead of the mnemonic, though an
>exact character must be specified and the character will not be underlined
>on Windows. The modifier key may be specified by setting the accelMods of
>the button to the modifier key you wish to have pressed (i.e command).
>
>The mnemonic button property will not underline the mnemonic letter on the
>Mac so the accelText may be set to indicate the mnemonic. Alternatively, you
>can use the Mac convention of supplying mnemonics for the first letter only
>in buttons e.g. "N" for "No" and "D" for "Don't Save" etc.
>
>Cheers,
>
>Alan

>I don't think MacOS does that. You have default buttons which respond to
>return key.
>
> > 2) Can a shortcut character be set as part of the label of a button
> > so the user can ALT-x (Win) or CMD-x (Mac) instead of mouse clicking?
>
>You would have to script that with *send "mouseUp" to button x* .
>
>Regards, Andu


Thanks for the feedback, I'll have to think what's best for both platforms.

Regards,

Peter

--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)1509 264986
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

Reply via email to