menu creation business rules menu system by george tisdale (april 2005)
TRANSCRIPT
![Page 1: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/1.jpg)
Menu Creation
Business Rules Menu System
By
George Tisdale
(April 2005)
![Page 2: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/2.jpg)
Basic menu
![Page 3: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/3.jpg)
Text button menu
![Page 4: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/4.jpg)
Button and Icon menu
![Page 5: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/5.jpg)
Icons only menu
![Page 6: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/6.jpg)
Logo menu
![Page 7: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/7.jpg)
Icon and logo menu
![Page 8: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/8.jpg)
Options for format
Windows menu contains all options Buttons act as short cuts One data source Nine languages Look can be set by workstation or user
(line 260)
![Page 9: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/9.jpg)
Security
User name and case sensitive password Passwords are encrypted when stored Users can be allowed into selected menus Selective deactivation for up to nine
permission levels
![Page 10: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/10.jpg)
What happens
Three no-close files opened 97,98,99 Logon user name and password checked
against User file (97) LOCAL.[WSID] (99) checked for existing
menu data If the called menu is not in 99
master menu file (98) is read user’s allowed items added to 99 in user’s
language Menu displayed from data in 99
![Page 11: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/11.jpg)
User Selects Option Program option for selection is checked First character defines action
?Program or procedureChains passing POST$ and OPT$
*Return a valueFNMENU is set to value
| Display another menuCalls and displays another menuDoes not load another program
![Page 12: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/12.jpg)
Set-up sequence Create menu families and items Create users and set permissions Edit options in WB.INI file
Text Icons Logo Companies
Run Workmenu.br
![Page 13: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/13.jpg)
Create Menu Families(maintmu.br)
SYSTEMFamily name
NumberMenu within family
Description Logo
For full menu only F2 to add
![Page 14: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/14.jpg)
Adding a menu
Description Logo if using Menu name and
sequence to return to Text for mouseover
help
![Page 15: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/15.jpg)
Main Listbox
![Page 16: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/16.jpg)
Menu Item
Indent for sub items Press ENTER in
column 1 for other languages Mouseover help text
F2 inserts a line F4 deletes a line
![Page 17: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/17.jpg)
Program Call?path\program.wb post$ opt$*5|ARSYSC 001
?chains to another program and passes variables post$ and opt$
*sets FNMENU equal to a number and returns to the program
|displays another menu without changing programs
![Page 18: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/18.jpg)
Image
Places items on the desktop if TEXT and or ICONS are true (greater than zero)
ICONS=true a valid graphic file must be referenced
Text=true any character will cause the text box button to appear
Blank – no short-cut is created
![Page 19: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/19.jpg)
Status
E causes an event when item is selected C makes item checkable CX makes the item checked P makes item protected (gray) – see
permissions
(Generally E will be used)
![Page 20: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/20.jpg)
Permission
Nine security/permission levels A Always display the option B Display option, but if program does
not exist deactivate the item (gray it out) C Display option ONLY if program
exists D Do NOT display option
![Page 21: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/21.jpg)
Easy update
From Screen 2 press F3 to export menus to a spreadsheet
This options assumes that you have Excel installed in the default configuration
Configure menus and resort and save as TXT file
Load and run BLDMENU.BR to import
![Page 22: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/22.jpg)
Adding a User
User logon User name (memo
only) Password Language number Reminder phrase
![Page 23: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/23.jpg)
Assign Permission Level to Menu Families
Menu families are displayed
Number in Perm column relates to the Perm column in the menu set-up list box
![Page 24: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/24.jpg)
Run workmenu.br
![Page 25: Menu Creation Business Rules Menu System By George Tisdale (April 2005)](https://reader035.vdocuments.us/reader035/viewer/2022062713/56649f465503460f94c67b84/html5/thumbnails/25.jpg)
Using FNMENU
Load and display menu with FNMENUSHOW(NAME$,NUMBER$)
At input/rinput fields reference fnmenuIf fkey=98 then let FNMENU
orIf fkey=98 and FNMENU=4 then …
orIf fkey=98 then on FNMENU goto (…