Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 4 - Keyboard Enhancements / Keyboard Reference
Methods and Functions for Handling Command Keys /


PressButton

PressButton(buttonView)

Causes the button to act as if it had been tapped by the user.

buttonView
The button you want tapped.

return value
Undefined; do not rely on it.

DISCUSSION

The ViewClickScript in buttonView is not called and thus does not need to be defined. All other button-related scripts are called as if the button had been tapped with the pen.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help