Te_Indicatereadonly - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

1060

TE_indicateReadOnly

Declaration:
void TE_indicateReadOnly (TERecord * teRec )
Category(ies):
Text Editing
Description:
If text edit record teRec was opened with the TE_READ_ONLY flag set,
turns on the read-only indicator (padlock symbol) in the status line and
disables menu commands "Cut," "Paste," "Delete," and "Clear All" if they
are defined in the application's registered menu.
Inputs:
teRec — The state record of a text edit field.
Outputs:
None
Assumptions:
The application should call this routine after it opens a read-only text edit
field or if it is focused on a text edit field when it is activated (receives
CM_ACTIVATE message).
The application should call ST_readOnly(ST_READONLY_OFF) to turn off
the status line read-only indicator when it is deactivated (receives
CM_DEACTIVATE message).
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
TE_open, ST_readOnly
Example:
TE_open(&teRec, &window, NULL, hText, 0, 0, TE_READ_ONLY | TE_WRAP);
TE_indicateReadOnly(&teRec);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Text Editing
/* open read-only text */
/* turn on padlock and dim edit menus */
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents