Texas Instruments TI89 Developer Guide - Page 106
Modifying Mode Settings Within an App, MO_option Array and Settings
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 106 highlights
64 Chapter 8: Integrating a Flash Application 8.1.1.1. 8.1.1.2. MO_NOTIFY_GRAPH_TYPE_2 - Graph mode change for graph 2 if in 2 graph mode. MO_NOTIFY_SPLIT - The screen size has changed. MO_NOTIFY_ANGLE - Angle mode has changed. MO_NOTIFY_PRECISION - Precision has changed between EXACT, APPROX, and AUTO. MO_NOTIFY_FIX - Fix digits or float precision change. MO_NOTIFY_NUMBER_FORMAT - Exponential format: Normal, scientific or engineering. MO_NOTIFY_VECTOR_FORMAT - Rectangular, cylindrical or spherical. MO_NOTIFY_COMPLEX_FORMAT - Real, rectangular or polar. MO_NOTIFY_PRETTY_PRINT - Pretty Print on or off. MO_NOTIFY_UNIT_SYSTEM - SI, ENG/US or CUSTOM unit system. MO_NOTIFY_BASE - DEC, HEX or BIN base. MO_NOTIFY_LANGUAGE - Language mode has changed. Modifying Mode Settings Within an App The mode settings can be modified within an application by calling MO_currentOptions to get the current mode settings into the mode option array, MO_option. After modifying the mode setting options, a call to MO_digestOptions will cause the new mode settings to take affect by sending out the appropriate mode notification messages. A simple example of setting the split screen ratio to the 50/50 setting follows: MO_currentOptions(); MO_option[MO_OPT_SPLIT_RATIO] = D_SPLIT_RATIO_1_1; MO_digestOptions(H_NULL); MO_option Array and Settings Index Setting 0 MO_OPT_CURRENT_FOLDER 1 MO_OPT_SPLIT_SCREEN 2 MO_OPT_NUMBER_OF_GRAPHS Description D_MODE_SPLIT_FULL=1, D_MODE_SPLIT_HORIZONTAL, D_MODE_SPLIT_VERTICAL D_MODE_GRAPHS_1=1, D_MODE_GRAPHS_2 TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/106.png)