[comp.sys.handhelds] quest: not displ. menu-keys

druegeme@hpwad.WAD.HP.COM (#Daniel Ruegemer) (06/13/91)

Hello again,

is it possible to supress the display of the menu-keys (in the normal
display-mode, not in the graphics-mode (I'm using the normal mode because
of performance-problems)) ?

Thank you,

Daniel Ruegemer.

jcohen@lehi3b15.csee.Lehigh.EDU (Josh Cohen [890918]) (06/18/91)

What exactly is the difference between graphics mode and normal mode?

Jrc5@Pl118a.CC.Lehigh.EDU

druegeme@hpwad.WAD.HP.COM (#Daniel Ruegemer) (06/20/91)

> What exactly is the difference between graphics mode and normal mode?

The difference is, in normal mode, I use the DISP-Command, in the graphics
mode I use the PICT-Object and PIXON/PIXOFF-Commands, for example.
When the PICT-Object is displayed, the menu-keys are not displayed, because
they're overwritten with the graphics.

Daniel

rrd@hpfcso.FC.HP.COM (Ray Depew) (06/25/91)

In comp.sys.handhelds, druegeme@hpwad.WAD.HP.COM (#Daniel Ruegemer) asks:

> is it possible to supress the display of the menu-keys (in the normal
> display-mode, not in the graphics-mode (I'm using the normal mode because
> of performance-problems)) ?

> Thank you,

> Daniel Ruegemer.

See the article "Turning menu keys off" written by 
CW%APG.PH.UCL.AC.UK@CUNYVM.CUNY.EDU (Conrad).  He describes a slick trick
using a couple of SYSEVALs.

If you don't want to use SYSEVALs, you can "white out" the menu line by
executing the following:

     { { GROB 21 8 0 }
       { GROB 21 8 0 }
       { GROB 21 8 0 }
       { GROB 21 8 0 }
       { GROB 21 8 0 }
       { GROB 21 8 0 } }
     MENU 

The list is a custom menu made out of white squares.  The 'MENU' command stores the list in the reserved variable 'CST', displays the CuSTom menu, and invites
you to press any of the keys.  All that will happen is that the calculator will
beep at you.

If you want to add functionality to the keys, then you can add objects 
(programs, constants, whatever) to the menu list by changing any line to 

       ... { GROB 21 8 0 obj1 } ...

or

       ... { GROB 21 8 0 { obj1 obj2 obj3} } ...

where obj1  := the object evaluated by pressing the unshifted menu key
where obj2  := the object evaluated by pressing the [Lshift]ed menu key
where obj3  := the object evaluated by pressing the [Rshift]ed menu key

Keep in mind that whether you use Conrad's SYSEVALs or the { { GROB ... } } 
menu, you still can't use the lower 9 rows of the display.  HP has locked them
out.

More information on the subject of GROBs in menus is contained in "HP 48
Graphics," written by a close personal friend of mine.

----------------
Regards
Ray Depew
HP, but not the calculator gang (sigh)
rrd@hpfitst1.hp.com