home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
- ╔═══════════════════════════════════════════════╗
- ║ MENU-II.EXE by Brian Meier ║
- ╚═══════════════════════════════════════════════╝
-
-
-
-
- Menu-II is a menu program which easily allows the user to
- customize the colors, display options, and the placement of options
- on the screen. There are already a large number of menu programs
- available but I feel this is of comparable quality, especially because
- of the supported profile options. This is the third program is as
- many weeks that I am uploading to Genie. The other two BLCKBOOK.ARC
- and DSKCHK.ARC have had quite a few accesses but I have only received
- a few responses. I would really like to hear any comments you have so
- that I can make adjustments in future programs. The main reason I
- add options to change colors in this program is because I received two
- letters from users of BLCKBOOK with monochrome monitors. My GEmail
- address is B.MEIER or you could send a letter to :
- Brian Meier
- P.O. Box 111146
- Arlington, TX 76007
-
- Notice: I am making this software available as Public Domain. The user
- assumes all risks and liabilities for the use, or inability to use
- this program. This program may be freely distributed so long as it
- is unaltered and all files are given as a set and a fee of not more
- than $5.00 is charged including media and postage.
-
- All you need to do to run MENU-II is add your program descriptions,
- paths, and parameters to the profile. You may also set colors and other
- display options in this file.
-
- Profile Format:
- The profile is named MENU.PRO by default but you may specify the
- name of another default as parameter. i.e. type MENU SAMPLE.MNU
- This allows you to keep multiple profiles for use with different monitors,
- etc. The profile is divided into two sections, the first contains the
- display options, the second contains the menu entries.
- Two sample programs have been included, Parser (parses a string of
- words into single word strings) and Parmtest (demonstrates how menu-ii
- passes parameters to called execs.) Also included are sample profiles.
- MENU.PRO is the default profile and will be used if no others specified.
- SAMPLE.PRO is different color profile which may be given as parameter to
- MENU-II. The third is MONOCHRM.PRO for use on monochrome monitors.
-
-
-
- Section One: Display Options.
- ═════════════════════════════
- All commands in this sections should be entered in Uppercase only.
- Invalid options are ignored in most places. Refer to picture on next
- page for a sample menu display. This is the default display, though the
- actual menu on screen is larger than illustration below. This program
- and the two sample programs were written with Turbo Pascal 4.0 by Borland
- International.
-
-
-
-
-
-
-
-
-
-
-
- ╔═══════ 10:14:22 pm ═════════ Saturday February 6, 1988 ══════╗
- ║ ╔══════════════════════════════════════════════════════════╗ ║
- ║ ║ ╔════════════════════Menu Title════════════════════════╗ ║ ║
- ║ ║ ║ ╔══════════════════════════════════════════════════╗ ║ ║ ║
- ║ ║ ║ ║ ║ ║ ║ ║
- ║ ║ ║ ║ F1 Program-1 F2 MS MASM ║ ║ ║ ║
- ║ ║ ║ ║ ║ ║ ║ ║
- ║ ║ ║ ║ F3 BLCKBOOK F4 Turbo C ║ ║ ║ ║
- ║ ║ ║ ║ ║ ║ ║ ║
- ║ ║ ║ ║ F5 DSKCHK F6 Ada ║ ║ ║ ║
- ║ ║ ║ ║ ║ ║ ║ ║
- ║ ║ ║ ║ F7 Video Game F8 Lisp ║ ║ ║ ║
- ║ ║ ║ ║ ║ ║ ║ ║
- ║ ║ ║ ║ F9 Turbo Pascal F10 Program-10 ║ ║ ║ ║
- ║ ║ ║ ║ ║ ║ ║ ║
- ║ ║ ║ ╚══════════════════════════════════════════════════╝ ║ ║ ║
- ║ ║ ╚══════════════════════════════════════════════════════╝ ║ ║
- ║ ╚══════════════════════════════════════════════════════════╝ ║
- ╚════ALT-X : Exits══════PGUP: Prev Menu═════PGDN: Next Menu════╝
-
-
-
-
- Bars:
- ───────────
- This 4 rings around the menu are referred to as bars. From outer to
- innermost, their names are BAR1 ,BAR2, BAR3, and BAR4. You can change
- the colors of bars, make them flash, or remove them completely. The
- appropriate commands are:
- SET BAR# ON│OFF
- SET BAR# COLOR COLOR# [BLINK]
- for example, the following commands in profile would make BAR1 flash
- red, BAR2 is removed, BAR3 is yellow, BAR4 is left for default value.
- SET BAR1 COLOR 12 BLINK
- SET BAR2 OFF
- SET BAR3 COLOR 14
-
-
-
- Date and Time
- ──────────────────
- The date and time are displayed on the top row by default with the
- clock updating every second. You can change the color of the date or
- time, turn the display of date or time off, and even move the them to
- a different line. Valid date and time commands are:
- SET DATE│TIME COLOR COLOR# [BLINK]
- SET DATE│TIME ON LINE#
- SET DATE│TIME OFF
- Line# is a number from 1-8 where 1-4 are the top of bars 1-4 and 5-8
- are the bottom lines of bars 1-4.
- For example, if you wanted to time displayed yellow, on the next to last
- line (bottom of bar3) you would enter:
- SET TIME COLOR 14
- SET TIME ON 7
-
-
-
-
-
-
-
-
-
-
-
-
- Set background color
- ────────────────────────
- Background color of screen may be changed to colors 1-7. Format is:
- SET BACK COLOR COLOR# [BLINK]
-
-
-
-
- Title and Special Keys
- ──────────────────────────
- You may also set options for the title of menu and for the row of
- keys at bottom of menu (alt-x, pgup, pgdn). You may set these on/off,
- change colors, or put on new line. Commands are:
- SET TITLE│KEYS COLOR COLOR# [BLINK]
- SET KEYS│TITLE ON LINE#
- SET TITLE│KEYS OFF
- usage of these is same as time and date. The actual title name is
- defined after the menu command defined later.
-
-
-
-
- PFKEYs and NAMES
- ────────────────────
- The PFKEYs and program NAMES are within the center of menu. The only
- options valid for these is to change colors. Command format is:
- SET PFKEY│NAMES COLOR COLOR# [BLINK]
- The actual names are set after the menu command.
-
-
-
-
- Section 2: Menu Entries
- ════════════════════════════
- After all options have been entered your profile should have the
- command 'MENU'. You may optionally follow MENU with the TITLE of your
- menu. Note that the title is delimited by spaces so if you want a two
- word title, there can be no spaces between words; replace blank with
- underscore,dash, period, etc. Following MENU are your program data, one
- program per line. Whereas spacing was not important in section 1, it is
- important in the menu section. You may enter up to 30 programs with each
- entry in profile haveing program description (what appears on menu) in
- columns 1-20, the path and actual filename in columns 21-60, and param-
- eters in columns 61-80. i.e.: the program BLCKBOOK.EXE in the directory
- c:\tools and having no paramters would be entered as:
-
- Black Book c:\tools\blckbook.exe
-
- Note that lowercase can be used for section 2 entries. Also note that
- the path includes the full exec name and drive prefix as well as the path
- 30 entries is the maximum number allowed, 10 for each of 3 menus.
- If less than 30 entries, the remainder are set to null. If more than
- 30 entries, the extras are ignored.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Usage notes
- ───────────────
- Section 1: all entries must be upper case
- invalid entries ignored if possible
- last command takes precedence, for example if you
- set color of bar1 twice, last color is used.
- Section 2: entries may be in mixed case
- extra entries are ignored
- data in wrong fields will result in program not being
- called and will return to menu.
- unused entries will be null.
- 30 entries maximum
- Keys : hitting a PFkey will call appropriate exec. ALT-X will exit
- menu program. PGUP and PGDN move to previous or next set of 10
- programs to be displayed on menu.
-
-
-
-
- Default Values
- ──────────────────
-
- item color flash location
- -------- ----------------- ------- ----------
- BAR1 no fixed
- BAR2 no fixed
- BAR3 no fixed
- BAR4 no fixed
- DATE no line 1
- TIME no line 1
- KEYS no line 7
- PFKEY 14 - yellow no fixed
- NAMES no fixed
- TITLE no line 3
- BACK 0 - black no n/a
-
-
-
- ┌─ ─┐ ┌─ ─┐ ┌─ ─┐ ┌─ ─┐
- SET │ BAR1 │ │ COLOR │ │ COLOR# │ │ BLINK │
- │ BAR2 │ └─ ─┘ └─ ─┘ └─ ─┘
- │ BAR3 │ ┌─ ─┐
- │ BAR4 │ │ OFF │
- │ BACK │ └─ ─┘
- │ DATE │ ┌─ ─┐ ┌─ ─┐
- │ TIME │ │ ON │ │ LINE# │
- │ KEYS │ └─ ─┘ └─ ─┘
- │ PFKEY │
- │ NAMES │
- │ TITLE │
- └─ ─┘
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- COLOR# TEXTCOLOR BACKGROUND
- ────── ───────────── ────────────
- 0 black black
- 1 blue blue
- 2 green green
- 3 cyan cyan
- 4 red red
- 5 magenta magenta
- 6 brown brown
- 7 light gray light gray
- 8 dark gray
- 9 light blue
- 10 light green
- 11 light cyan
- 12 light red
- 13 light magenta
- 14 yellow
- 15 white