Post Reply 
Starting a program through the app icons? [Solved]
11-25-2015, 08:00 PM (This post was last modified: 09-06-2016 11:33 AM by jrozsas.)
Post: #1
Starting a program through the app icons? [Solved]
how to start a program through the app icons?
I created a program. How to Inserting an APP icon to start the program without using the Programs menu?
Example: My program "Area" (in Attachment)
The "Area" program can be started by the Programs menu - Run
[Image: tLPg7.jpg]
But if I want to start the program by an icon in the app? I've tried copying and renaming an APP but not worked.
[Image: DBvoa.jpg]
[Image: qsxK8.jpg]


Attached File(s)
.txt  Area.txt (Size: 2.09 KB / Downloads: 9)

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
11-25-2015, 10:19 PM
Post: #2
RE: Starting a program through the app icons?
You can simply create a START function that runs the desired routine.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
11-26-2015, 06:36 AM
Post: #3
RE: Starting a program through the app icons?
Hello,

Starting a "program" from the app icon screen can ONLY work if the program is an app program.

To get a function in your program called upon the touch of the app icon, you need to have a function called START. This function will be called when the app is started.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
11-26-2015, 11:09 AM
Post: #4
RE: Starting a program through the app icons?
Thanks! Its work.
// CAS Custom Menu
// EWS 2014-04-20
//ADAPTED BY João Leonardo Rozsas
//leo8051@ig.com.br
EXPORT Area()
BEGIN
END;

SUB1();
SUB2();
SUB3();
SUB4();
SUB5();
SUB6();

START()
BEGIN
REPEAT //loop das subs
LOCAL m,m1,mx,my;
WHILE MOUSE(1)≥0 DO
END;

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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