Presentation is loading. Please wait.

Presentation is loading. Please wait.

Menu Creation Business Rules Menu System By George Tisdale (April 2005)

Similar presentations


Presentation on theme: "Menu Creation Business Rules Menu System By George Tisdale (April 2005)"— Presentation transcript:

1

2 Menu Creation Business Rules Menu System By George Tisdale (April 2005)

3 Basic menu

4 Text button menu

5 Button and Icon menu

6 Icons only menu

7 Logo menu

8 Icon and logo menu

9 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)

10 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

11 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

12 User Selects Option Program option for selection is checked First character defines action ?Program or procedure Chains passing POST$ and OPT$ *Return a value FNMENU is set to value |Display another menu Calls and displays another menu Does not load another program

13 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

14 Create Menu Families (maintmu.br) SYSTEM Family name Number Menu within family Description Logo For full menu only F2 to add

15 Adding a menu Description Logo if using Menu name and sequence to return to Text for mouseover help

16 Main Listbox

17 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

18 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

19 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

20 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)

21 Permission Nine security/permission levels AAlways display the option BDisplay option, but if program does not exist deactivate the item (gray it out) CDisplay option ONLY if program exists DDo NOT display option

22 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

23 Adding a User User logon User name (memo only) Password Language number Reminder phrase

24 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

25 Run workmenu.br

26 Using FNMENU Load and display menu with FNMENUSHOW(NAME$,NUMBER$) At input/rinput fields reference fnmenu If fkey=98 then let FNMENU or If fkey=98 and FNMENU=4 then … or If fkey=98 then on FNMENU goto (…


Download ppt "Menu Creation Business Rules Menu System By George Tisdale (April 2005)"

Similar presentations


Ads by Google