Dec 212017
 
Fast menu utility for Xbase dialects.
File FM10D.ZIP from The Programmer’s Corner in
Category Dbase Source Code
Fast menu utility for Xbase dialects.
File Name File Size Zip Size Zip Type
FASTMENU.BIN 8218 2741 deflated
FASTMENU.DOC 10710 3230 deflated
FASTMENU.FRM 4553 619 deflated
FASTMENU.RME 2222 868 deflated
FMC10.BIN 8218 2741 deflated
FMCOLOR.PRG 1503 503 deflated
FMERROR.PRG 1363 488 deflated
FMINST.BAT 504 241 deflated
FMLOAD.PRG 2564 1012 deflated
FMM10.BIN 12208 2758 deflated
FMTEST.PRG 3257 1219 deflated

Download File FM10D.ZIP Here

Contents of the FASTMENU.DOC file




FASTMENU - Fast Pull Down Menus for dBASE



LICENSE INFORMATION


This document is subject to change without notice.

FASTMENU is not now, nor was it ever, public domain or free
software.

FASTMENU is a trademark of Bowen Software.

FASTMENU software is copyright (C) 1989-90 by Bowen Software.
All rights reserved.

Non-registered users are granted a limited license for trial
use of the FASTMENU program for 90 days. After 90 days if
you continue to use FASTMENU you must register it.

Registration of FASTMENU is mandatory for commercial and
government users.

Registered users are licensed only to use the FASTMENU
program. They are NOT licensed to resell FASTMENU or place
it on a bulletin board.

To register send $25 to:

Bowen Software
P.O. Box 2134
East Peoria, Illinois 61611
(309) 699-0950
Compuserve# 76665,736

We welcome your questions and/or suggestions.

Electronic messages can be left on Exec-PC at 414-964-5160.
This is also where you can find the latest demo version of
FASTMENU and other programs by Bowen Software. Address
messages to Don Bowen.
























FASTMENU - Fast Pull Down Menus for dBASE



DISCLAIMER

Program documentation would not be complete without a
disclaimer, and our documentation is no exception.

You use FASTMENU at your own risk. We make no claims to its
fitness for any particular application. Also, we do not
provide any warranties, expressed or implied, that the
software will work. You will have to be the judge of that.

Bowen Software can not be sued for any damages to software or
hardware due (or thought to be due) to FASTMENU, regardless
if we have been notified of such problems.

Please don't let the above paragraph scare you away.
FASTMENU is a safe program.














































FASTMENU - Fast Pull Down Menus for dBASE



Overview

FASTMENU is a binary module that can be loaded from the dot
prompt with the LOAD command.

Using FASTMENU consists of making CALLs to FASTMENU with a
character string (memory variable) that contains characters
which define how the pull down menus should look and act.

After a group of preliminary calls to FASTMENU to define how
the pull down menus look (text, colors, hotkeys) the EXECUTE
command tells FASTMENU to do its thing and FASTMENU takes
control. When the operator makes a selection from one of the
menus, either by pressing RETURN or by pressing a pre-defined
hotkey, FASTMENU returns to the user program.

Upon return to the user program, the user program parses the
memory variable used in the CALL to FASTMENU to find out what
the operator did. The following information is returned in
the above mentioned variable:

1st byte - Menu the operator was on. This is
returned as a capital letter corresponding
to the menu. For example if the operator
was on the third menu the letter 'C' would
be returned.

2nd byte - Line in the above menu the operator was
on. Returned as a letter as described
above.

3rd byte - Fatal error status, which is '0' if no
error occured. If not '0', DO FMERROR
with the fatal error code and an empty
memory variable and an error message will
be returned in the memory variable.

4th byte - Escape key status, which is '0' if escape
was not used to exit and '1' if it wasn't.
See EXECUTE for how to enable or disable
the escape key.

The program can then use CASE statements for both the menu
and line to determine what action should be taken. It could
even set up a new menu system and execute FASTMENU again.
See the example program FMTEST.PRG and the associated
programs FMLOAD.PRG and FMCOLOR.PRG (and FMERROR.PRG).















FASTMENU - Fast Pull Down Menus for dBASE



Command Descriptions

TITLE Command

To specify a title line, call FASTMENU with a variable that
begins with a 'T' followed by text as described below.

This MUST be done before MENU or HOTKEY. It also clears any
previous pull down menus.

Titles are specified as text enclosed in braces ({}). All
text in the variable sent from dBASE is included in the title
line, but only the text enclosed in braces is hilited when
the appropiate menu is selected by using the left and right
arrow keys.

When a title line is sent to FASTMENU any previous title,
menus, colors and hotkeys are erased as if you had reLOADed
FASTMENU. In the unregistered version this will also cause a
screen pop up with how to register FASTMENU (pressing any key
will cause this screen to disappear).

Up to 16 different brace pairs with enclosed text can be
specified.


MENU Command

To specify a menu, call FASTMENU with a variable that begins
with an 'M' followed by text as described below.

Menus are specified as text followed by a pipe symbol (|) for
each line in the menu. To specify a bar between logical
groups (a la ASSIST) of menu lines use an equal sign (=) as
the text. The menu lite bar will jump over this bar line and
it will not be counted as a return choice.

Up to 22 lines (A-V) can be specified for each menu and the
total number of menu lines is limited to 128 for all menus.
In addition, the total amount of text for all menus must not
exceed 1280 bytes.


COLOR Command

To specify color attributes, call FASTMENU with a variable
that begins with a 'C' followed by text as described below.

Color attributes are specified as a pair of bytes where the
first byte specifies the foreground and the second the
background. These bytes are ascii-hex characters. Up to
four attributes (byte pairs) can be specified and are used as
follows:









FASTMENU - Fast Pull Down Menus for dBASE



COLOR Command (con't)

1st pair - Reverse attribute for the title line

2nd pair - Normal attribute for the title line

3rd pair - Reverse attribute for the menus

4th pair - Normal attribute for the menus

An attribute can be left to its default by using spaces for
the pair of bytes or by not specifying it at all.

Use the FMCOLOR.PRG program which is called from FMTEST.PRG
to help you determine how to CALL FASTMENU to obtain the
colors you desire. To run FMCOLOR take the "Change Color"
option from the first simulated ASSIST menus.


HOTKEY Command

To specify a hotkey, call FASTMENU with a variable that
begins with an 'H' followed by text as described below.

Hotkeys are specified as a group of four bytes as follows:

1st byte - Type (A-Alt C-Ctl F-Function)

2nd byte - Key, A-J for function key, otherwise A-Z.

3rd byte - Menu, capital letter corresponding to
appropiate menu. 'A' corresponds to the
first menu, 'B' the second, etc.

4th byte - Line, capital letter corresponding to
appropiate line. 'A' corresponds to the
first menu, 'B' the second, etc.

This can also be an exclamation point (!)
which will cause the specified menu to be
pulled down but no action will be taken.
See FMLOAD.PRG for examples of how to use
the exclamation point.

Up to 30 hotkeys can be specified.


EXECUTION Command

To execute the menus that are currently stored in FASTMENU,
CALL FASTMENU with a variable that begins with an 'E'
followed by text as described below.

The execute command consists of three bytes as follows:








FASTMENU - Fast Pull Down Menus for dBASE



EXECUTION Command (con't)

1st byte: Menu to start on, identified by a capital
letter (i.e. 'A' for the 1st menu).

2nd byte - Line to start on in the current menu,
identified by a capital letter (i.e. 'A'
for the 1st line).

3rd byte - This byte is formed by adding the values
associated with the desired options listed
below and using the CHR() function.

1 Allow ESC to exit.
2 Allow ESC from menus to titles only.
4 Start with titles only.
8 Show time in upper right corner.
16 Restore screen upon exit.

To allow ESC to exit, show the time, and
restore the screen upon exit, you would
use CHR(25) (which is: 1 + 8 + 16).








































 December 21, 2017  Add comments

Leave a Reply