Post Reply 
Keeping graphic objects in programs
12-27-2020, 06:11 PM
Post: #25
RE: Keeping graphic objects in programs
(12-27-2020 06:21 AM)Han Wrote:  What you can do is create a virtual calculator (this is freely available if you have not already downloaded it). Then "send" the program to the virtual calculator (using the CK -- either from the real calculator, or from the Content pane where your app was copied to previously). Once the virtual calculator has the copy, you can then proceed to edit your program from the CK and test everything on the virtual calculator. Once all is ready to try on a real calculator, send it from the virtual calculator to the real on (again using the CK).
Dear Mr. Han,
But how can I call those .PNG files from my program? Of course these should be in the same directory as the program, but I don't know how to use them. I also have another problem. In my application I use a square black cursor that, depending on the settings, must be projected over more or less square boxes in a grid, such that the character in it is visible in reverse video. The problem occurs when touching the screen on one of those boxes. The cursor must then immediately land on that box, and the content of that box can then be changed via the keyboard. Each box has an index number, and the difficulty now is to translate the mouse coordinates of the touch on the screen to the correct index number in the most efficient way possible. An additional problem is that the index numbers are not logically related to the boxes on the screen. This portion of the code will be critical to the correct operation of the program. And I don't have enough experience programming the Prime yet to implement this in the most efficient way. I hope I am not asking too much of you now, although I am confident that your knowledge and experience will be more than sufficient to overcome this problem. I am curious about your answer. Sincerely, Karel.

I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Keeping graphic objects in programs - cahlucas - 12-27-2020 06:11 PM



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