Routines for menu_br.kb


CreateMenuTextList

File Name

menu_br.kb

Syntax

CreateMenuTextList ( REF menuList: LIST OF MenuBarRecord, REF menuTextList: List of STRING)

Parameters

menuList - list of menu records

menuTextList - menu text list

Returns

None

Side Effects

None

Description

This function creates the menu Text List from the menulist passed in. It also updates menulist to remove blanks.

Dialog Forms Called

None


GetMenuColumnRow

File Name

menu_br.kb

Syntax

GetMenuColumnRow (REF menu: MenuBarRecord, REF column: Integer, REF row: Integer)

Parameters

menu - MenuBarRecord

column - column on menu

row - row on menu

Returns

Integer

Side Effects

None

Description

This procedure returns column and row for the menu record based on the menu.menu_number.

Dialog Forms Called

None


LoadMenuList

File Name

menu_br.kb

Syntax

LoadMenuList ( VAL user: UserEventRecord, REF menuTextList: List of STRING)

Parameters

user - user ID for which to create menubar

menuTextList - menu list for this user / group

Returns

None

Side Effects

Populates menuList

Description

This function will load the menu bar for the given user passed in. This menu bar can be specific to the user or a group, the user belongs. Otherwise, it is the system default. The final list is a depiction of the menu that will be presented to the user upon logon.

Dialog Forms Called

None


SetMenuNumber

File Name

menu_br.kb

Syntax

SetMenuNumber (REF menu: MenuBarRecord, REF column: Integer, REF row: Integer)

Parameters

menu - a menu record

column - the column on menu

row - row on menu

Returns

None

Side Effects

None

Description

This procedure sets the menu.menu_number variable on the menu record according to the column and row provided.

Dialog Forms Called

None