970
Appendix A: System Routines — Status Line
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
ST_readOnly
Declaration:
void
ST_readOnly
(UINT
indic
)
Category(ies):
Status Line
Description:
Sets the read-only status line indicator.
Inputs:
indic
— ST_READONLY_OFF, turns off the read-only indicator.
ST_READONLY_ON, turns on the read-only indicator.
Outputs:
None
Assumptions:
This routine does not set or change the read-only state of the text currently
being edited — it only updates the status line display. Use
TE_indicateReadOnly
to test the read-only state of the current text edit
record and turn on the read-only status line indicator automatically.
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also: TE_indicateReadOnly
Example:
TE_open(&teRec,&window,NULL,hText,0,0,TE_READ_ONLY|TE_WRAP); /* open read-only text */
TE_indicateReadOnly(&teRec); /* turn on padlock and dim edit menus */
.
.
.
ST_readOnly(ST_READONLY_OFF); /* turn off padlock in status line */