Re: A86: menus


[Prev][Next][Index][Thread]

Re: A86: menus




In a message dated 10/24/99 13:12:48 Eastern Daylight Time, 
croop@oregontrail.net writes:

> OK, the rom's menu routines are making me quite mad.  I'm trying to make
>  a menu bar like that which is produced by the BASIC command 'menu()'. 
>  This menu bar is just like TI-OS menus, except you cannot clear it away
>  by simply pressing 'exit', and you can't do anything until you press one
>  of the F keys.
>  
>  I made a little program to test out the menu info I found at Dux's
>  site.  It made the menu just fine.  But this menu is a TI-OS menu.  Once
>  invoked, it executes entirely separate of my program, and waits for the
>  program to end before it even lets the user make selections.  And a
>  press of the exit key terminates it.
>  
>  Is there any way (well, if the BASIC interpreter does it, there MUST be)
>  to invoke a BASIC menu instead of a TI-OS menu?  I don't want the user
>  to be able to press exit;  I want everything to stop until the user
>  makes a selection, and then the program continues.

Just manually draw a menu-like interface at the bottom of the screen.  Lots 
of programs do this (just look at all the shells).  Then you can just call 
_get_key and check for K_F1, K_F2, etc.



----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/