Post Reply 
Custom View menu
12-13-2017, 09:08 AM
Post: #3
RE: Custom View menu
(12-12-2017 11:18 PM)Carlos295pz Wrote:  By redefining the View menu, the list of default views is replaced.
An alternative for Statistic 2 Var app would be to recreate your menu:
Code:
VIEW "Split Screen: Plot Detail", View1
BEGIN
  STARTVIEW(8)
END;

VIEW "Autoscale", View2
BEGIN
  STARTVIEW(10)
END;

VIEW "text", function()

But redefining the menu seen so far has the disadvantage of the language, it is not possible to vary the text, apparently HP PPL only allows a string after VIEW, if in the future it were possible to allow an operation after VIEW it would be like this:

Code:
VIEW STRINGFROMID(728), View1   //"Split Screen: Plot Detail"
BEGIN
  STARTVIEW(8)
END;

VIEW STRINGFROMID(728), View2   //"Autoscale"
BEGIN
  STARTVIEW(10)
END;

VIEW StringAppLanguage(Language), function()

This would be a great advance for multilanguage, although it is also possible to create an App for each Language as it is currently done.

Thanks Carlos, that works, with one caveat. At least for the Statistics 2 Var app, STARTVIEW() doesnt seem to work using the published numbers 8 or 10 - I found STARTVIEW(9) invoked autoscale, and couldnt get Split Screen plot detail to work.
Im using the HW calc and the beta sw.
Not sure why this occurs.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Custom View menu - Stevetuc - 12-12-2017, 09:10 PM
RE: Custom View menu - Carlos295pz - 12-12-2017, 11:18 PM
RE: Custom View menu - Stevetuc - 12-13-2017 09:08 AM
RE: Custom View menu - Carlos295pz - 12-13-2017, 03:24 PM
RE: Custom View menu - dg1969 - 12-13-2017, 12:40 PM
RE: Custom View menu - dg1969 - 12-13-2017, 12:44 PM
RE: Custom View menu - Dirk.nl - 12-13-2017, 04:14 PM



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