home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
library
/
pb
/
pbmnus
/
menuman.doc
< prev
next >
Wrap
Text File
|
1993-03-03
|
15KB
|
374 lines
============================================================================
MENUMAN: EASY POWERBASIC MENUS
COPYRIGHT, 1992, 1993
SALT AND LIGHT SOFTWARE
1525 LOCUST ST.
READING, PA. 19604
============================================================================
PROLOUGE
MENUMAN 1.0 for Powerbasic is designed to generate menus with
selection by function keys, numbers and widebar selectors that travel
horzintally and vertically. The menus are loaded into a file called
"TESTMENU.BAS" and are loaded as subprograms. The reason for assigning
the menus as subprograms is that this gives the programmer more flexibility
to call the menu subprogram any time he wishes and to locate and assign
certain colors to the menus. Programs included on the disk:
MENUMAN.EXE
MENUMAN.DOC
FKEYSAMP.BAS
FKEYSAMP.EXE
HORZSAMP.BAS
HORZSAMP.EXE
NUMBSAMP.BAS
NUMBSAMP.EXE
VERTSAMP.BAS
VERTSAMP.EXE
The programmer may include the menus generated by MENUMAN 1.0 for
Powerbasic into his or her work on a royalty free basis.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
MENUMAN was born out of frustration. I was tired of coding menu files
and forgetting "END SELECT" or rummaging around my source code files on disks
and looking for the proper way to do the INSTR function or flipping through
pages of books on programming on how to handle an error trap. So, I came
with MENUMAN as a way to always put together a menu that would work and not
have to spend hours of programming.
MENUMAN will generate menus with selection by alternate keys,
function keys, a Lotus type menu, numbers selections and popup vertical bar
menus. The following is a short tutorial on:
* The opening screen of MENUMAN
* An overview of the TOOLS section
* A step by step process of creating a menu
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
OPENING SCREEN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Type Menuman at your DOS prompt and the opening screen of MENUMAN
will be staring back at you in a few seconds. To select a menu function, use
up or down arrows to move the widebar selector and then press ENTER when you
are at the menu type you want. If you want to use one of MENUMAN's tools (you
don't have to return them, neighbor) move the widebar selector to TOOLS and
press ENTER. To exit MENUMAN, move the widebar selector over to EXIT and
press ENTER. (Hint: the home and end keys will send you to EXIT).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
TOOLS SECTION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
After you enter the TOOLS section of MENUMAN, you will see a box
with the following options:
COLOR SELECTOR
CHANGE DIRECTORY
BOX LOCATOR
BOX STYLES
EXIT
Move the widebar cursor over each item and Press ENTER at the one
you want.
Here is an overview of each section of TOOLS
#################################################
COLOR SELECTOR
After the widebar cursor is placed over the first entry and ENTER is
pressed, the user will see how a menu will look with different colors.
You will see a box popup in the lower right handed corner of the screen with
a range of colors, number 1 through 15. Type in the foreground color of your
choice and then type in the background color of your choice. Then a smaller
box will appear, showing you how you color selections will look on the screen.
If you want to choose another color combination press the Number 1, or if
you want to exit to MENUMAN's opening screen, press Number 2.
########################################################
CHANGE DIRECTORY
The second option will change the directory inside any drive by typing in
the drive letter and the name of the directory or subdirectory you wish.
Example: C:\QB\MENUS\SHIP
######################################################
BOX LOCATOR
The third choice on the TOOLS menu will show what your menu will look
like at designated screen locations. A distored display means that your menu
went below the 25-row limit, or beyond the 80-column limit.
#######################################################
BOX STYLES
The fourth choice on TOOLS menu will show five styles of boxes
offered in your menu subprogram.
________________________________________________________
MENU CREATION
________________________________________________________
Step by step instructions on how to create menus:
ALTERNATE KEYS MENUS
First step: Leave the widebar selector on MENUS and then press
ENTER. The menu of menu choices will appear and the widebar selector will
be placed on the function keys menu item; press ENTER.
Second step: An input box will appear on the lower portion
of the screen. Type in the desired number of entries (2 to 7) then press
Enter.
(Hint: items are limited to 10 cols in length. Menuman will
let you know if you have gone over the limit by sounding a chime. The entry
will be erased and you will be asked to retype it. Any entry can be edited in
place by pressing the ESC key. The edit function will only work with the
current entry).
Then the next entry will appear. Continue to press ENTER until all
the selections for your menu have been entered. There is no need to provide
an entry for an "EXIT" or "QUIT" option because MENUMAN automatically
designates the last item in the menu for this purpose.
(Hints: Menuman will select the first letter of your entry as the hot
key. Your letter selection will be marked in the letters and numbers box. What
if you have entries that start with the same letter? Well, there are two ways
to work around that situation.
1. Use the numbers as a means of utilizing entries with the same
letters. Do it this way by typing: 1MENUMAN, or 2BOXMAKER. That's right no
spaces between numbers and words.
2. Misspell the entry like this "EMNUMAN. The letter "E" will have
a box around it in the finished menu. You will have to shift the lower case
"m" to the first position in the word and make several other small
adjustments to get the memu the way you want it.)
Fourth step: Another box will appear asking you if you want to save
the menu to "TESTMENU.BAS" or quit the process and return to the Main Menu.
If you select to save the menu, it will be placed in the current path which
you are working. (Directories and paths may be changed by using the Change
Directory option in the Tools Menu.)
(Hint: a working model of an alternate keys menu with has
been included on the disk. A compiled version has also been included)
FUNCTION KEYS MENUS
First step: Leave the widebar selector on MENUS and then press
ENTER. The menu of menu choices will appear and the widebar selector will
be placed on the function keys menu item; press ENTER.
Second step: An input box will appear on the lower portion
of the screen. Type in the desired number of entries (2 to 9) and press Enter.
(Hint: items are limited to 15 cols in length. Menuman will
let you know if you have gone over the limit by sounding a chime. The entry
will be erased and you will be asked to retype it. Any entry can be edited in
place by pressing the ESC key. The edit function will only work with the
current entry).
Then the next entry will appear. Continue to press ENTER until all
the selections for your menu have been entered. There is no need to provide
an entry for an "EXIT" or "QUIT" option because MENUMAN automatically
designates the last item in the menu for this purpose.
Fourth step: Another box will appear asking you if you want to save
the menu to "TESTMENU.BAS" or quit the process and return to the Main Menu.
If you select to save the menu, it will be placed in the current path which
you are working. (Directories and paths may be changed by using the Change
Directory option in the Tools Menu.)
(Hint: a working model of a Funtion keys menu with has
been included on the disk. A compiled version has also been included)
_________________________________________________________________________
LOTUS TYPE MENUS
First step: Leave the widebar selector on MENUS and then press
ENTER. The menu of menu choices will appear; move the widebar selector to
the Horizontal menu item and press ENTER.
Second step: An input box will appear on the lower portion
of the screen. Type in the desired number of entries (2 to 7) and press Enter.
(Hint: items are limited to 10 cols in length. Menuman will
let you know if you have gone over the limit by sounding a chime. The entry
will be erased and you will be asked to retype it. Any entry can be edited in
place by pressing the ESC key. The edit function will only work with the
current entry).
Then the next entry will appear. Continue to press ENTER until all
the selections for your menu have been entered. There is no need to provide
an entry for an "EXIT" or "QUIT" option because MENUMAN automatically
designates the last item in the menu for this purpose.
Third step: Another box will appear asking you if you want to save
the menu to "TESTMENU.BAS" or quit the process and return to the Main Menu.
If you select to save the menu, it will be placed in the current path which
you are working. (Directories and paths may be changed by using the Change
Directory option in the Tools Menu.)
(Hint: a working model of a Horizontal menu with notations has
been included on the disk. A compiled version also has been included.)
____________________________________________________________________________
NUMBERS SELECTION MENUS
First step: Leave the widebar selector on MENUS and then press
ENTER. The menu of menu choices will appear; move the widebar selector to
the Numbers menu item and press ENTER.
Second step: An input box will appear on the lower portion
of the screen. Type in the desired number of entries (2 to 9) and press Enter
(Hint: items are limited to 15 cols in length. Menuman will
let you know if you have gone over the limit by sounding a chime. The entry
will be erased and you will be asked to retype it. Any entry can be edited in
place by pressing the ESC key. The edit function will only work with the
current entry).
Then the next entry will appear. Continue to press ENTER until all
the selections for your menu have been entered. There is no need to provide
an entry for an "EXIT" or "QUIT" option because MENUMAN automatically
designates the last item in the menu for this purpose.
Third step: Another box will appear asking you if you want to save
the menu to "TESTMENU.BAS" or quit the process and return to the Main Menu.
If you select to save the menu, it will be placed in the current path which
you are working. (Directories and paths may be changed by using the Change
Directory option in the Tools Menu.)
(Hint: a working model of a Numbers menu with has
been included on the disk. A compiled version also has been included.)
____________________________________________________________________________
VERTICAL SELECTION MENUS
First step: Leave the widebar selector on MENUS and then press
ENTER. The menu of menu choices will appear; move the widebar selector to
the Vertical menu item and press ENTER.
Second step: An input box will appear on the lower portion
of the screen. Type in the desired number of entries (2 to 9) and press Enter
(Hint: items are limited to 15 cols in length. Menuman will
let you know if you have gone over the limit by sounding a chime. The entry
will be erased and you will be asked to retype it. Any entry can be edited in
place by pressing the ESC key. The edit function will only work with the
current entry).
Then the next entry will appear. Continue to press ENTER until all
the selections for your menu have been entered. There is no need to provide
an entry for an "EXIT" or "QUIT" option because MENUMAN automatically
designates the last item in the menu for this purpose.
Third step: Another box will appear asking you if you want to save
the menu to "TESTMENU.BAS" or quit the process and return to the Main Menu.
If you select to save the menu, it will be placed in the current path which
you are working. (Directories and paths may be changed by using the Change
Directory option in the Tools Menu.)
(Hint: a working model of a Vertical menu with has
been included on the disk. A compiled version also has been included.)
**************************************************************************
I am asking a registration fee of $5 for this programming effort.
As any programmer knows, a great deal of time goes into any program.
The gestation period usually isn't nine months but the labor pains can be
memorable. Registered users can purchase MENUMAN updates at costs of under $7.
Send all comments and/or orders to me by one of these methods:
Through a letter or postcard to:
CARMEN PAONE
SALT AND LIGHT SOFTWARE
1525 LOCUST ST.
READING, PA. 19604
On Compuserve as CARMEN PAONE [72677, 42]
On Genie as C. PAONE
On Delphi as CARMENPAONE
On America On-Line as CARMENP805
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
One final word, no matter what decision you make on MENUMAN, do
yourself a soul-saving service and read John 3:16 in any Bible.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++