[REQUEST] reset field ([<-] key) "input" cmd - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: [REQUEST] reset field ([<-] key) "input" cmd (/thread-7385.html) |
[REQUEST] reset field ([<-] key) "input" cmd - compsystems - 12-07-2016 01:10 PM 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: « 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. What do programmers and users say about this idea? RE: [REQUEST] reset field ([<-] key) "input" cmd - compsystems - 12-07-2016 08:55 PM I found a problem when resetting values with [<-] key, by default always set 0, this should not be so because it is not always the value of the correct defined data type These are the default reset values that do not generate INVALID DATA TYPE and that should be implemented, not in the following firmware but if in the future, you agree? Quote:-1: all -> EMPTY FIELD (NULL) Test each field from the following code, Comment and uncomment for each case If you press [<-], then [edit] menu -> "Error: Invalid Input" PHP Code: export input0() A help for data types |