Texas Instruments TI-89 Developer's Manual page 1106

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

Advertisement

1064
TE_open
(continued)
Returns TRUE if edit buffer could be allocated, or FALSE if insufficient
Outputs:
memory to allocate edit buffer. This routine always returns TRUE if hText
is passed in with the handle to a text buffer.
teRec is initialized with text edit state. teRec must be allocated statically to
maintain state between calls to the text edit routines.
Window w must already be open. Handle hText must not be locked.
Assumptions:
May cause heap compression.
Side Effects:
All versions of the TI-89 / TI-92 Plus.
Availability:
TI-89 / TI-92 Plus
Differences:
None
TE_close, TE_openFixed, TE_reopen, TE_shrinkWrap
See Also:
Example:
WIN_RECT rect;
static TERecord teRec;
.
.
.
/* Create an edit region at the top of window */
rect.x0 = 0;
rect.y0 = 0;
rect.x1 = WinWidth(&window);
rect.y1 = LF_HEIGHT + 1;
bOK = TE_open(&teRec, &window, &rect, H_NULL, 0, 0, TE_MORE_ELLIPSES);
.
.
.
TE_close (&teRec);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Text Editing
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