The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
User Key: Custom Menu
11-03-2017, 12:43 PM
Post: #1
User Key: Custom Menu
You can assign a custom menu to a user key. The program TEMPLATES assigns a list of functions to the templates key (the key to the right of the Toolbox key, key 18 I believe).

When this program is completed, you call the custom menu by pressing [Shift], [Help] (User), [template key].

Choose a function or command. Whatever you choose will be inserted into the entry line. This user key works in program editing as well.

HP Prime Program: TEMPLATES

Note: I do not have a main “TEMPLATES” program block. In terms of making a custom menu like this, it is not necessary.

Code:

// a custom menu
// 2017 EWS

KEY K_Templ()
BEGIN
LOCAL str,lst,cst,ch;
// templates
lst:={"Function.ROOT()",
"Function.AREA()",
"Function.SLOPE()",
"Finance.TvmNbPmt()",
"Finance.TvmIPYR()",
"Finance.TvmPV()",
"Finance.TvmPMT()",
"Finance.TvmFV()"};


// choose list
cst:={"ROOT",
"AREA",
"SLOPE",
"N",
"I%YR",
"PV",
"PMT",
"FV"};

CHOOSE(ch,"Template",cst);

RETURN lst(ch);

END;

Link to original post: http://edspi31415.blogspot.com/2017/11/h...st-of.html
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
User Key: Custom Menu - Eddie W. Shore - 11-03-2017 12:43 PM
RE: User Key: Custom Menu - Carsen - 11-03-2017, 08:21 PM
RE: User Key: Custom Menu - Tyann - 11-04-2017, 06:38 AM
RE: User Key: Custom Menu - Tyann - 11-26-2017, 03:59 AM
RE: User Key: Custom Menu - tcab - 05-11-2018, 08:03 AM



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