Dialog Boxes; Figure 11.2: Screen Shot From Test Menu Example - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Chapter 11: Creating the User Interface
Figure 11.2: Screen Shot from Test
11.5.1.

DIALOG Boxes

DIALOG DialogName, DialogWidth, DialogHeight, CallBackRoutine {
}
DialogName is the name given to the dialog box structure. The generated .h file
is included to reference the dialog box from a C program. DialogWidth and
DialogHeight define the width and height of the dialog box in pixels. If either or
both is zero, then the system will set them to the maximum values used by the
dialog box at the time the dialog box is executed. CallBackRoutine is the name of
the call-back function used for the dialog box. See section 11.4.4. Dialog
Call-Backs for a description of call-backs.
Each item within the dialog structure has a Flags byte and an (x, y) coordinate of
the upper left pixel of the field. All coordinates in a dialog box are relative to the
upper left corner of the dialog box.
TI-89 / TI-92 Plus Developer Guide
Menu Example
DYNPOPUP { Flags , x , y }, Text , GetDynPopupRoutine , OptionListIndex
DYNHEADER { Flags , x , y }, PDB1 , PDB2
EDIT { Flags , x , y }, Text , BufferOffset , FieldLength , DisplayLength
HEADER { Flags , x , y }, Text , PDB1 , PDB2
HEDIT { Flags , x , y }, Text , 0 , 0 , DisplayLength
MENU { Flags , x , y }, MenuName
POPUP { Flags , x , y }, Text , PopupName , OptionListIndex
SCROLL_REGION { Flags , x , y }, x1 , y1 , Index0 , Index1 , NumDspFields ,
TotNumFields , FieldHeight
TEXT { Flags , x , y }, Text
XFLAGS { Flags , x , y }, FlagVal1 , FlagVal2 , FlagVal3 , FlagVal4
Not for Distribution
117
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