Menu Assignment

The sub-list displays the usage of the selection/button selected in the header form in menus/button areas.

Menu Name name of the menu/button area
Parameter function parameter or name of the menu / button area-component
Row row position of the buttons in the button area
Column column position of the buttons in the button area
Sequence position number of the selection in the menu
Maximum Length maximum visible length of the menu
Comment comment on the menu record

Form displays the menu/button area record in the form
Reconfigure updates the copy of the menu/button area in main memory
Delete Menu deletes the menu / button in the database
Selection Assignment opens list menu selection

Menu Name

Name of the menu/button area

attribute master attribute for menu (T_MENU)
type, entry string, entry required
max. no. of characters 20
selection tool recursive widget (list with existing menus/button areas)
multilingual field no

The name uniquely identifies the menu or button area. You'll want to use consistent naming conventions, to differentiate between menus and button areas.


Special Menu names

TOP
the application's top menu bar

TOP@MAS
the dynamic Edit menu in the top menu bar

WINDOW
the dynamic Windows menu in the top menu bar

VIEWBAR
a dynamic View menu to show and hide toolbars

VIEWWIN
a dynamic View menu to show or hide dockable windows (Browser, Messages windows).

More information: -> Top menu bars, -> Dynamic pull-down menus


Special button area names

TOP_BUT
the application's main toolbar

More information: -> Toolbars

Parameter

Function parameter for userexit/macro or name of a menu / button area-component

attribute relation attribute for menu -selection (T_MEN_SEL)
type, entry string, entry optional
max. no. of characters 2000
selection tool no
multilingual field no

The parameter you enter is independent of the action defined for the item.

Entry:

Userexit parameter
Parameter for a userexit

Name of the child menu
the child menu required by @NEXT

Where definition
for @TABLENAME.COLUMNNAME

Component name
only when the item is a placeholder, see the Name field

Row

Row position of the button in the button area

attribute relation attribute for menu -selection (T_MEN_SEL)
type, entry Integer, entry optional
max. no. of characters 5
selection tool no
multilingual field no

The button's position is always relative to the origin of the object to which the button is assigned.

Pushbutton in a form
origin is the top left corner below the title bar

Pushbutton in a list
origin is the top left corner of the icon bar, vertical position must be 1

Pushbutton in a toolbar
origin is the top left corner of the toolbar, if the toolbar is automatically sized and positioned, the value is irrelevant (length/width = 0/0)

Radio button
origin is the top left corner of the field to which the radio button is assigned

Index Card
origin is the top left corner of the of the header form, the values for the first index cards determine the absolute position of a system of index card groups.

Button area component
When a button is within a button area, a position of 0/0 is recommended for the reference button (top left), so that you can define the relative position within a parent button area in the placeholder record alone.

More information: -> Positioning pushbuttons in masks, -> Display options for toolbars, -> Radio buttons, -> Appearance of index card groups

Column

Column position of the button in the button area.

attribute relation attribute for menu -selection (T_MEN_SEL)
type, entry Integer, entry optional
max. no. of characters 5
selection tool no
multilingual field no

The button's position is always relative to the origin of the object to which the button is assigned.

Pushbutton in a form
origin is the top left corner below the title bar

Pushbutton in a list
origin is the top left corner of the icon bar, vertical position must be 1

Pushbutton in a toolbar
origin is the top left corner of the toolbar, if the toolbar is automatically sized and positioned, the value is irrelevant (length/width = 0/0)

Radio button
origin is the top left corner of the field to which the radio button is assigned

Index Card
origin is the top left corner of the of the header form, the values for the first index cards determine the absolute position of a system of index card groups.

Button area component
When a button is within a button area, a position of 0/0 is recommended for the reference button (top left), so that you can define the relative position within a parent button area in the placeholder record alone.

More information: -> Positioning pushbuttons in masks, -> Display options for toolbars, -> Radio buttons, -> Appearance of index card groups

Sequence

Position number the selection in the menu

attribute relation attribute for menu -selection (T_MEN_SEL)
type, entry Integer, entry required
max. no. of characters 5
selection tool no
multilingual field no

For selections the position number determines the logical and actual sequence in the menu. For buttons only a logical sequence is determined.

Maximum Length

Maximum visible length of the menu

attribute master attribute for menu (T_MENU)
type, entry Integer, display only
max. no. of characters 5
selection tool no
multilingual field no

Although you must enter a value for button areas, this field only affects how menus are displayed.

More information: -> Menu display options

Comment

Comments on the created menu record

attribute master attribute for menu (T_MENU)
type, entry string, display onlyl
max. no. of characters 255
selection tool no
multilingual field no

Form

Opens the menu data form and displays the menu/button area record in the header form

Reconfigure

Updates the copy of the menu / button area in main memory

A new or modified menu or button area (its menu attributes, item assignments) must first be copied into main memory, before changes are visible in the user interface.


Menu components

When you create a menu component in local memory, DataView automatically updates all the menus in main memory to which the component belongs (even indirectly). Parent objects which are already in main memory need not be updated.

Delete Menu

Deletes the menu or button definition from the database.


Deleting from the database (menus and button areas):

The menu can only be deleted from the database under these conditions:

Attention! The menu definition is immediately and permanently deleted from the database. It cannot be recovered from the trash.

Selection Assignment (menu only)

Opens the Menu Selection list where you can modify the Memu Selection`s relation.