Post Reply 
[REQUEST] reset field ([<-] key) "input" cmd
12-07-2016, 01:10 PM (This post was last modified: 12-07-2016 10:21 PM by compsystems.)
Post: #1
[REQUEST] reset field ([<-] key) "input" cmd
Hello hp-prime developer group

Request/Idea:
I: Pressing the [<-] key, generates a popup or menu showing:

1: Reset [current] value
2: [All]
3: [exit]

II: Type valids with [HELP] key

(INFORM cmd of the hp48/50) do this.

PHP Code:
«
  0  keyPressedOnMenu
  «
    0 
'Real' STO
    1 
'Complex' STO
    2 
'String' STO
    3 
'RealMatrix' STO
    4 
'ComplexMatrix' STO
    5 
'List' STO
    6 
'Identifier' STO
    8 
'Program' STO
    9 
'Algebraic' STO
    10 
'BinaryInteger' STO
    13 
'Unit' STO
    
"title"
    "label_a" "help_a"
  
Real Complex String  RealMatrix
  ComplexMatrix 
List Identifier
  Program Algebraic BinaryInteger
  12 LIST

    
"label_b" "help_b" }
    
2 LIST
    
1 2 } @ pos
    
NOVAL 5 }      @ reset value a}
    { 
123 NOVAL } @ init value    a}
    
INFORM
     
'keyPressedOnMenu' STO
    
IF keyPressedOnMenu 1 ==
    
THEN
    
ELSE
    
END
  »
» 

Purpose: Avoid accidental deletion of fields.

Currently pressing the [<-] key, deletes the current field of input cmd, sometimes it is uncomfortable because the [<-] key, is not visible in the menu ([edit] ... [cancel] [ok]) of INPUT and can be accidentally pressed.

[Image: dialogBoxes_inform_hp50_image00.png]

What do programmers and users say about this idea?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[REQUEST] reset field ([<-] key) "input" cmd - compsystems - 12-07-2016 01:10 PM



User(s) browsing this thread: 1 Guest(s)