Mac Form: Setting Command Keys for Mail Form Designer Objects (65382)
The information in this article applies to:
- Microsoft Mail for AppleTalk Networks 2.0
- Microsoft Mail for AppleTalk Networks 2.0a
- Microsoft Mail for AppleTalk Networks 2.0b
- Microsoft Mail for AppleTalk Networks 3.0
This article was previously published under Q65382 SUMMARY
To set the COMMAND key equivalent of an object in Microsoft Mail Form
Designer (for example, the COMMAND key equivalent COMMAND+S for the
Save button), you can use the Form Designer globals: objKeyEquiv,
cmdKey, and enterKey. It is recommended, however, to use the special
utility function setKeyEquiv instead. This function was designed
solely for setting COMMAND key equivalents and guarantees the best
results.
For example, the following script sets the key equivalent of the
selected object to COMMAND+A:
on compile
setKeyEquiv "A" (type the quotation marks)
end compile
The following script sets the key equivalent of the selected object to
RETURN or ENTER. (If the object is a button, it will set that button
to be the default button.)
on compile
setKeyEquiv return
end compile
Modification Type: | Major | Last Reviewed: | 11/9/1999 |
---|
Keywords: | KB65382 |
---|
|