cancel
Showing results for 
Search instead for 
Did you mean: 
jacobeluz
New member
1 0 0 0
Message 1 of 2
977
Flag Post

HP Prime Input Command

HP Recommended
HP Prime

i have this program

 

and i whish to change the color of the Long when selected to green

how do i do this

tNX

Jacob  

 

 

 

 

EXPORT JE2()

BEGIN

 

LOCAL LossMax:=10;

local price:=0;

local StopCent:=10;

 

LOCAL LongShort:={"Long","Short"};

local Risk:= 2;

local Buy:="A";

local Stocks:=0;

local calc1,calc2;

local run:=1;

local StopPrice:=0;

local Long:=1;

local colGr;

 

while run do

 

INPUT({ {Long,LongShort,{70,20,0}},

{price,[0],{30,20,0}},

{LossMax,[0],{30,20,1}},

{StopCent,[0],{30,20,2}},

{Risk,[0],{30,20,3}},

{Buy,[2],{15,20,5}},

{Stocks,[0],{50,20,5}},

{StopPrice,[0],{50,20,6}}

 

},

{"Risk Calc"},

{"POS","Price$","LossMax$","StopCent","Risk%","BUY?","Stocks","StopPrice"},

{"Long or Short position",

"Enter Price",

"Max Loss in Dolars",

"Max stop in cents",

"Max Risk % of the price",

"Buy Yes/No Risk is les then 2%",

"number of stocks to buy" ,

"stop price " },

{0,0,10,10,2,"N",0,0},

{}

0 Kudos
1 REPLY 1
Tim_Wessman
Level 8
Level 8
747 744 121 187
Message 2 of 2
Flag Post
HP Recommended

There is currently no way to do this in the Prime. Not even with the internal tools we have access to.

Sorry.

 

You'd have to reimplement the whole dialog engine from scratch.

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation