Te_Focus - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Text Editing

TE_focus

Declaration:
BOOL TE_focus (TERecord * teRec )
Category(ies):
Text Editing
Description:
Makes teRec the current input field. Highlights selected text or turns on
cursor blink in the input field.
teRec
Inputs:
Outputs:
Returns TRUE if text edit was already focused on this field before calling
this routine. Otherwise returns FALSE.
Assumptions:
This routine is used in conjunction with TE_unfocus to move the focus of
text editing from one edit field to another. Call TE_unfocus to unhighlight
text and stop cursor blink in the current edit field. Then call TE_focus to
highlight text and start cursor blink in another edit field.
Side Effects:
Cursor blink is turned on.
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
TE_unfocus
Example:
case KB_ENTER:
/* Move edit focus to next field */
TE_unfocus(&teField1);
TE_focus(&teField2);
break;
TI-89 / TI-92 Plus Developer Guide
— Contains the text edit state.
Not for Distribution
1057
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