EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

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 #916 background imageLoading...
Page #916 background image
874
Appendix A: System Routines — Menus
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
FKeyI_H
Declaration:
WORD
FKeyI_H
(HANDLE
MenuH
, WORD
Key
)
Category(ies):
Menus
Description:
For the given function key, return its index relative to KB_F1 (KB_F1 -> 0,
. . . , F8 -> 7) or M_NOTMENUKEY if not a function key.
Inputs:
hMenu
Handle returned from
MenuBegin
.
Key
Key code.
Outputs:
0 . . . 7 if menu key or M_NOTMENUKEY. (Note that M_NOTMENUKEY
may be returned for function keys not defined for the given menu handle.)
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: MenuBegin, MenuKey
Example:
HANDLE hMenuDraw;
WORD key, menuSelect = 0;
const MENU ToolBox2;
if (hMenuDraw = MenuBegin(&ToolBox2, 0,0, 0 )) {
key = GKeyIn( NULL, 0 );
if (M_NOTMENUKEY == FKeyI_H(hMenuDraw, key))
Disp("Key not on this menu");
else
menuSelect = MenuKey( hMenuDraw, key );
MenuEnd( hMenuDraw );
return menuSelect;
}

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