Texas Instruments TI89 Developer Guide - Page 1108
Inputs, Outputs, Assumptions, Side Effects, Availability, Differences, See Also, Example
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 1108 highlights
1066 Appendix A: System Routines - Text Editing 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); TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001