Post Reply 
CHOOSE instruction
01-01-2014, 04:29 PM
Post: #1
CHOOSE instruction
Code:
//Variables
ChooseMain;

//-----------------------------------------------------------------
EXPORT TestApp()
BEGIN
END;

VIEW "Start TestApp",START()
BEGIN
  RECT();
  WAIT(2);
//  STARTVIEW(-4,1); //Home View
  CHOOSE(ChooseMain,"TESTAPP MAIN MENU","TestApp Selection...");
  CASE
    IF ChooseMain==1 THEN STARTVIEW(-7,1); END; 
  END;
WAIT(1);
MSGBOX("Exit Subroutines");
END;

This code is part of an App. It will run in the emulator. It is a copy of the Solve App. I am attempting to superimpose the CHOOSE box on top of the RECT() to provide a clean background. It will superimpose itself on top of a STARTVIEW instruction, but not the RECT(). Is there any way to do this? Also, starting the App using either the App Icon or the soft Start button, superimposes it on the same STARTVIEW screen. If I start the App using the View button, it superimposes the CHOOSE box on a different STARTVIEW screen. Any information on how this stuff operates would be appreciated. Thanks
rcf
Find all posts by this user
Quote this message in a reply
01-01-2014, 08:19 PM (This post was last modified: 01-01-2014 08:23 PM by Eddie W. Shore.)
Post: #2
RE: CHOOSE instruction
The apps I believe will always start at their "home screen".

Assuming your info page is blank, we could use the Info View - which only leaves the top and menu bars.

Code:
//Variables
 ChooseMain;

 //-----------------------------------------------------------------
 EXPORT TestApp()
 BEGIN
 END;

 VIEW "Start TestApp",START()
 BEGIN
 
// View info page - assuming it's blank 

STARTVIEW(6,1);

   CHOOSE(ChooseMain,"TESTAPP MAIN MENU","TestApp Selection...");
   CASE
     IF ChooseMain==1 THEN STARTVIEW(-7,1); END; 
   END;
 WAIT(1);
 MSGBOX("Exit Subroutines");
 END;


If there was a code for STARTVIEW that let's the user see the terminal screen, that would be perfect, but I don't think there is one.
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)