ADDMEN

Contents


Addmen allows you to add a menu to the menu bar.

Syntax

Addmen 1_menu_id Titled title_exp To 2_menu_id At row_no.

 

Parameters

Element

Description

Restrictions

1_menu_id

Whole number that identifies the new menu

For the standard:
50000 < 1_menu_id < 60000

For the specific:
60000 < 1_menu_id < 70000

title_exp

Alphanumeric expression of the box title

length <= 240

2_menu_id

Whole number that identifies the main menu

Status of the main menu = 307
For the standard:
50000 < 2_menu_id < 60000

For the specific:
60000 < 2_menu_id < 70000

row_no.

Whole number that indicates the point of insertion of the menu into the main menu.

For the menus belonging to the function
51 <= row_no. <= 90

 

Examples

# Addition of a text menu at the highest menu level
# with 3 lines (Ack text / invoice text / other sub-menu text)
Addmen 50001 Titled "Text" to 307 at 51
Additm 20001 Titled "Ack Text" to 50001 at 10
Additm 20001 Titled "Invoice Text" to 50001 at 20
Addmen 50002 Titled "Other" to 50001 at 30

# Can also be written in the following way
Addmen 50001 Titled mess(28,123,1) to 307 at 51
Additm 20001 Titled mess(227,198,1) to 50001 at 10
Additm 20001 Titled mess(228,198,1) to 50001 at 20
Addmen 50002 Titled mess(8,230,1) to 50001 at 30

 

Description and Comments

"Addmen" allows you to add a menu to the menu bar.

 

E-commerce Version

"Addmen" should no longer be used. Define the menu in the "window" OBJect.

 

Associated Keywords

Additm - Enable - Disable

 


Contents


Copyright © Sage 1999 - 2007