ADDITM

Contents


Additm allows you to add a line to a menu.

Syntax

Additm line_id [,shortcut] Titled title_exp To menu_id At row_no.

 

Parameters

Element

Description

Restrictions

line_id

Whole number that identifies the new menu line

For the standard (with control):
1200 <= line_id <= 1219
For the specific (with control):
1220 <= line_id <= 1239
For the specific (with control):
2000 <= line_id <= 2019
For the specific (without control):
2020 <= line_id <= 2029

shortcut

Whole number that identifies the combination of keys expressed in decimals

title_exp

Alphanumeric expression of the box title

length <= 240

menu_id

Whole number that identifies the main menu

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

For the specific:
60000 <= 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

"Additm" allows you to add a menu line to the menu bar.

The shortcut to be indicated is the addition of the decimal values associated with each key.

In OBJect management, "Additm" is mainly used in the OUVRE action.

 

Associated Keywords

Addmen - Enable - Disable

 


Contents


Copyright © Sage 1999 - 2007