EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1108 background imageLoading...
Page #1108 background image
1066
Appendix A: System Routines — Text Editing
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
TE_openFixed
(continued)
Inputs:
(continued)
0x0018 TE_MORE_ELLIPSES
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 TE_CHANGED
Do not set this flag. It is a status flag which if 1
indicates the contents of the edit buffer have
changed.
0x0400 TE_AUTO_ANS
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 TE_READ_ONLY
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.
Outputs:
teRec
is initialized with text edit state.
teRec
must be allocated statically to
maintain state between calls to the text edit routines.
Assumptions:
Window
w
must already be open.
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
TE_close, TE_open, TE_reopen, TE_shrinkWrap
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);

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals