HP Forums
INPUT commands for the graphic screens - 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: INPUT commands for the graphic screens (/thread-11782.html)



INPUT commands for the graphic screens - Gene222 - 11-11-2018 07:45 PM

Are there any commands for input boxes on the G0 graphic screen? If no, are there any plans to develop input commands for the G0 graphic screen?


RE: INPUT commands for the graphic screens - cyrille de brébisson - 11-12-2018 07:59 AM

Hello,

The INPUT function works on the G0 screen.
All UI unctions INPUT, MESSAGEBOX.... only work on G0 actually, it would be nice to allow them to work on other grapics at one point..

cyrille


RE: INPUT commands for the graphic screens - Gene222 - 11-25-2018 12:17 AM

The INPUT function seems to clear the G0 screen, before displaying input or entry boxes. Does anyone know a way to suppress the INPUT command from clearing the G0 graphic screen? I would like to print text or draw a figure on the G0 graphic screen and overwrite the input screen or boxes onto the G0 screen, so that the text or figure and the input boxes can be displayed at the same time.

EDIT 11/25/18. It looks like the INPUT command changes the background color to blue. So, even if one were to suppress the clearing of the G0 graphic screen, I guess the INPUT command would overwrite anything previously written or drawn on the G0 screen when the blue background color is drawn. oh well....


RE: INPUT commands for the graphic screens - Carlos295pz - 11-25-2018 05:43 PM

Currently that is not possible, hp prime updates its entire screen if only to change the time, being an integrated interface can not modify how to update, an integrated interface can update the screen several times without realizing or without touch the screen, it is useless to make changes in G0, if to work INPUT or similar interface the whole screen will redraw.

Note: Other calculators do allow editing the screen while displaying a system header, which is very beneficial for showing time and battery.


RE: INPUT commands for the graphic screens - Mark Power - 11-25-2018 09:38 PM

Hi Gene, not sure what you are trying to accomplish but if you want to preserve G0 before INPUT and show it afterwards, why not BLIT G0 to another graphics object (e.g. G1) then BLIT it back after?