V2 Menu file structure

Tag Description

[CCLAS]

Master group marker; the top node displayed in the Folder Items panel.

Caption=<Caption>

Classic menu style only. Caption text or heading displayed in the caption bar for the master group, if the UseCaption setting is enabled.

Example: CCLAS MANAGER

LargeIcons=Enabled

Classic menu style only. If enabled, large icons are displayed for the available applications, otherwise small ones are displayed.

UseCaption=Enabled

Classic menu style only. If enabled, captions are displayed for the available applications.

UseIcons=Enabled

Classic menu style only. If enabled, icons are displayed for the available applications in the menu.

UseGroupCaptions=Enabled

Classic menu style only. If enabled, captions are used for each group heading.

UseItemCaptions=Enabled

Classic menu style only. If enabled, captions are used for each item.

Window=Left,Top,Width,Height

Left and top position, and width and height of the menu window, in pixels. -1 forces the default value to be used.

ScreenFile=<SCR file>

Browser-based menu style only. A CCLAS Menu Script Hooks file used to display the form in the right-hand panel when the top [CCLAS] node is selected. All menu script files are located in the Config folder.

Example: ScreenFile=MNU_Main.SCR

NumberofGroups=n

Number of groups displayed for the menu.

Example: Number of Groups=8

Group1=<Group1Name>

Name of the first group. A profile definition for the group needs included below this main menu definition.

Example: Group 1=GROUP CONFIG

Group2=<Group2Name>

Name of the second group. A profile definition for the group needs included below this main menu definition.

Example: Group 2=GROUP PROCESSING

...

 

Groupn=<GroupnName>

Name of the last group. A profile definition for the group needs included below this main menu definition.

Example: Group 8=GROUP UTILITY

Group1Name

Group marker containing the name of the group; a group node below the top [CCLAS] node.

Example: [GROUP CONFIG]

Caption=<Caption>

Classic menu style only. Caption text or heading displayed in the caption bar for the group, if the UseGroupCaptions setting is enabled.

Example: Caption=Configuration

Help=<HelpText>

Classic menu style only. Help text displayed for the group.

Example: Help=Configuration programs

ScreenFile=<SCRFile>

Browser-based menu style only. A CCLAS Menu Script Hooks file to display the form displayed in the right-hand panel when the group node is selected. All menu script files are located in the Config folder.

Example: ScreenFile=MNU_Config.SCR

NumberofItems=n

The number of items in the group.

Example: NumberofItems=9

Item1=<Item1Name>

Name of the first item in the group. A profile definition for the item needs included below this group menu definition.

Example: Item1=LICENCE

Item2=<Item2Name>

Name of the second item in the group. A profile definition for the item needs included below this group menu definition.

Example: Item2=STAFF

...

 

Itemn=<ItemnName>

Name of the last item in the group. A profile definition for the item needs included below this group menu definition.

Example:Item9=LANGUAGES

IconSource=<IconSourceFile>

Source of the icon used to display the item.

Example: IconSource=CONFIG.EXE

IconPosition=0

Position of the icon within the IconSource file, if more than one icon is available in the file.

<Item1Name>

Item marker containing the name of the first item in the group; an item node below the group node.

Example: [LICENCE]

Caption=<Caption>

Classic menu style only. Caption text or heading displayed in the caption bar for the item, if the UseItemCaptions setting is enabled.

Example: Caption=Licence

Help=<HelpText>

Classic menu style only. Help text displayed for the group in the Properties window for the item.

Example: Help=Licence program

Executable=<Application>

Application to be run when the item node is double-clicked.

Example: LICENCE.EXE

StartDir=<Folder>

Folder in which to start the application.

Example: %CollDirectory%

Parameter=<ParameterList>

Comma-delimited parameter list to be passed to the application. If set to "?", the user is prompted to enter the parameter value(s).

IconSource=<IconSourceFile>

Source of the icon used to display the item.

Example: LICENCE.EXE

IconPosition=0

Position of the icon within the IconSource file, if more than one icon is available in the file.

Explorer=<ExplorerGroup>

Optional setting to allow the presentation of a PVExplorer List view with records coming from a database table or view. The Explorer parameter, if present, will point to a menu explorer group definition that is defined further via the Program Settings - CCLAS_EXPLORER.

Example: Explorer=Explorer1

Show=1

The show mode for the application to be run. Note that the application defined here can be used only if a compatible show mode is used, and that most CCLAS EL applications are always run maximised.

  • 0 = Hidden
  • 1 = Normal
  • 2 = Minimised
  • 3 = Maximised
  • 4 = Normal with no focus
  • 5 = Normal with focus
  • 6 = Minimised with no focus.
Example:
' CCLAS.MNU *** Example only ***
'
[CCLAS]
Caption=CCLAS
LargeIcons=Enabled
UseCaption=Disabled
UseIcons=Enabled
UseGroupCaptions=Enabled
UseItemCaptions=Enabled
Window=-1,-1,-1,400
NumberofGroups=3
Group1=GROUP LIMS
Group2=GROUP PROFILE
Group3=GROUP UTILITY
[GROUP LIMS]
Caption=Lims
NumberofItems=3
Item1=SCHEME
Item2=CLIENT
Item3=AUDIT
[SCHEME]
Caption=Method
Help=Method entry/update
Executable=I:\CCLASDAT\EXE\SCHEME.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\SCHEME.EXE
IconPosition=0
Show=1
[CLIENT]
Caption=Client
Help=Client entry/update
Executable=I:\CCLASDAT\EXE\CLIENT.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\CLIENT.EXE
IconPosition=0
Show=1
[AUDIT]
Caption=Audit
Help=Audit entry/update
Executable=I:\CCLASDAT\EXE\AUDIT.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\AUDIT.EXE
IconPosition=0
Show=1
[GROUP PROFILE]
Caption=Profile
NumberofItems=4
Item1=PROFILE
Item2=SAMREG
Item3=AUDITJOB
Item4=JOBSTATS
[PROFILE]
Caption=Job
Help=Job registration
Executable=I:\CCLASDAT\EXE\PROFILE.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\PROFILE.EXE
IconPosition=0
Show=1
[SAMREG]
Caption=Sample type
Help=Sample type registration
Executable=I:\CCLASDAT\EXE\SAMREG.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\SAMREG.EXE
IconPosition=0
Show=1
[AUDITJOB]
Caption=Job Audit
Help=Job auditing information
Executable=I:\CCLASDAT\EXE\AUDITJOB.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\AUDITJOB.EXE
IconPosition=0
Show=1
[JOBSTATS]
Caption=Job Statistics
Help=Status reports
Executable=C:\WINDOWS\WSCRIPT.EXE
StartDir=I:\CCLASORA\COLL
Parameter=I:\CCLASORA\CONFIG\JOBSTATS.VBS
IconSource=I:\CCLASDAT\EXE\STATREP.EXE
IconPosition=0
Show=1
[GROUP UTILITY]
Caption=Utility
NumberofItems=3
Item1=CONFIG
Item2=LICENCE
Item3=STAFF
[CONFIG]
Caption=Setup
Help=CCLAS Setup
Executable=I:\CCLASDAT\EXE\CONFIG.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\CONFIG.EXE
IconPosition=0
Show=1
[LICENCE]
Caption=Licence
Help=Licence program
Executable=I:\CCLASDAT\EXE\LICENCE.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\LICENCE.EXE
IconPosition=0
Show=1
[STAFF]
Caption=Staff
Help=Staff program
Executable=I:\CCLASDAT\EXE\STAFF.EXE
StartDir=I:\CCLASORA\COLL
Parameter=
IconSource=I:\CCLASDAT\EXE\STAFF.EXE
IconPosition=0
Show=1