Texas Instruments TI-89 Developer's Manual page 1108

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

Advertisement

1066
TE_openFixed
Inputs: (continued)
teRec is initialized with text edit state. teRec must be allocated statically to
Outputs:
maintain state between calls to the text edit routines.
Window w must already be open.
Assumptions:
None
Side Effects:
All versions of the TI-89 / TI-92 Plus.
Availability:
TI-89 / TI-92 Plus
None
Differences:
TE_close, TE_open, TE_reopen, TE_shrinkWrap
See Also:
Example:
WIN_RECT rect;
static TERecord teRec;
UCHAR text[20];
.
.
.
/* Create an edit region at the top of window */
rect.x0 = 0;
rect.y0 = 0;
rect.x1 = WinWidth(&window);
rect.y1 = LF_HEIGHT + 1;
TE_openFixed(&teRec, &window, &rect, text, sizeof(text), TE_MORE_ARROWS);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Text Editing
(continued)
0x0018
Set this flag to display ellipses ( . . . ) at the left and
right ends of a single line edit region to indicate when
more text is to the left or right of the edit region.
0x0100
Do not set this flag. It is a status flag which if 1
indicates the contents of the edit buffer have
changed.
0x0400
Set this flag to 1 to cause "ans(1)" to be inserted
automatically when the edit buffer is empty and an
arithmetic operation is typed.
0x0800
Display text and allow arrow keys to navigate through
edit buffer, but do not allow changing the text.
The remaining bits are internal status flags or reserved for future
use.
Not for Distribution
TE_MORE_ELLIPSES
TE_CHANGED
TE_AUTO_ANS
TE_READ_ONLY
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