Index page

 

Ariadne - Technical description

A010

Main menu

Description

For the menu, the active-X applet Treeview is used (with the associated applet Imagelist). The menu structure is loaded in Treeview at start up, on basis of a query on the table T732-Menu-item. In this way, menus can be configured dynamically. At a click on the menu item, the associated command line in T720-Function is looked up, and executed.

Remark:
The F000-Menu is used in Ariadne-main and in Ariadne-penalty. Both implementations are almost identical, except for:
- The ApplictionName: ('Ariadne Main'; 'Ariadne Penalty')
- The selection of the menu in the Q732 select statement:
menu-id = 1 : Ariadne-main menu
menu-id = 2 : Ariadne-penalty menu

Access path

Autoexec (MS-Access standard macro, executed at opening of the database-application)
P000_Initialization  
F000-Menu Main menu

screen shot: F000-Menu

Form Control Event Query Table Attribute
F000-Menu competition
 
T100-Current-competition
 
  ariadne_version   Q700-Ariadne-system T700-Ariadne-system  
  Menu-Treeview on load   T732-Menu-item  
    on click   T732-Menu-item
T720-Function
 

Remark: The Treeview version 5.0 (SP2) Active-X applet requires the Active-X library COMCTL32.OCX in the windows\system32 directory.This Active-X library must be registered to MS-Access via Menu - Extra - Active-X controls.


Change history this document

date version change
01-10-02 1.5 Translated into English, converted to html