powered by CADENAS

Manual

Manual

1.1.7.8.1.2. Tweak commands

This are some exemplary entries:

  • Menu_ Delete =Item,"FileOpen",""

    Deletes the menu item File -> Open.

  • Toolbar_ Delete =Button,"FileOpen"

    Deletes the icon Open file.

  • Toolbar_ New =Box,"MainWindow_Standard","right"

    Creates the toolbar Standard. The value „right“ positions the toolbar on the right side.

  • Toolbar_ New =Button,"MainWindow_Standard","FileOpen"

    In the toolbar Standard the icon Open file is created.

  • Menu_Delete=All

    Deletes all menus.

  • Toolbar_Delete=All

    Deletes all toolbars.

[Note] Note

Please regard the sequence of the commands, since these are sequentially processed.

When creating a new user interface the „delete“ command has to be stated first, followed by the others.

You can find a detailed description in the following.

1.1.7.8.1.2.1. Create menu

Menu_New=Popup,

<popup name>,

<optional: parent popup>,

<optional: insert before>

 

New name for the menu to be inserted (use either own name or currently available one, if the menu should be constructed differently, for example.)

Name of the menu from which it is to be inserted. In case this specification is omitted, then the entry occurs at the highest level.

Name of the menu from which it is to be inserted. In case this specification is omitted, the entry occurs at the very end.

       

Example:

     

Menu_New=Popup,

, "MyMenu",

"",

"ExtrasMenu",

Examples:

Here at the highest menu level, behind the menu item "File", an own menu item „MyMenu“ is created.

Menu_Delete=All
Menu_New=Popup,"MyMenu","","FileMenu",""

The parameters to be used are found under Section 1.1.7.8.1.3, “Tweak parameters in detail”.

1.1.7.8.1.2.2. Create menu items

Menu_New=Item,

<item name>,

<command>,

<optional: popup name>,

<optional: insert before>,

 

Name of the inserted sub-point

The commands to be used are listed below

Name of popup which will have something inserted.

Name of the menu item before which will be inserted.

Example:

       

Menu_New=Item,

<Open file>,

"FileOpen",

"MyMenu",

New file

 

<New file>,

"FileNew",

"MyMenu",

New folder

 

<New folder>,

"FileNewFolder ",

"MyMenu",

 

The parameters to be used are found under Section 1.1.7.8.1.3, “Tweak parameters in detail”.

1.1.7.8.1.2.3. Deleting menus

List of all menus:

File | Export | View | Table | Configurator | Extras | Window | ?

In general:

Menu_Delete=Popup,<popup name>

In detail:

Menu_Delete=Popup,"FileMenu" deletes the menu „File“.

The tweak parameters for the menus are the following:

FileMenu
ExportMenu
ViewMenu
TableMenu
ConfiguratorMenu
ExtrasMenu
WindowMenu
HelpMenu

Delete all menus:

Menu_Delete=All

1.1.7.8.1.2.4. Deleting sub-points from menus

Example:

Menu_Delete=Item,"FileOpen"

The parameters to be used are found under Section 1.1.7.8.1.3, “Tweak parameters in detail”.

1.1.7.8.1.2.5. Deleting context menu commands

[Note] Note

The syntax for deleting context menu commands is according to the one for deleting menu items.

Example:

Menu_Delete=Item,"IndexTree_Purchineering"

The parameters to be used are found under Section 1.1.7.8.1.3, “Tweak parameters in detail”.

1.1.7.8.1.2.6. Create toolbar

The commands to create a toolbar are nearly identical with those to create menus.

The only difference is that „item“ is replaced by „button“ and „popup“ by „box“.

The position where the toolbar should show up can be determined through "right", "left", "top" and "bottom".

"Menu_New=Popup" is now "Toolbar_New=Box"

Menu_New=Item is now "Toolbar_New=Button"

In general:

Toolbar_New=Box,"<Toolbar Name>","<Position>"

Example:

Toolbar_New=Box," MainWindow_Standard ","right"

Or, when you want to create your own toolbar with a name given by you:

Toolbar_New=Box," MyToolbar ","right"

Toolbar_New=Box,"MyToolbar","right"
Toolbar_New=Button,"MainWindow_MyToolbar","FileOpen"
Toolbar_New=Button,"MainWindow_MyToolbar","FileExit"
Toolbar_New=Button,"MainWindow_MyToolbar","View2D"

[Note] Note

Your own toolbar „MyToolbar“, for example, you don't have to address with „MyToolbar“, but with „MainWindow_MyToolbar“.

The parameters to be used are found under Section 1.1.7.8.1.3, “Tweak parameters in detail”.

1.1.7.8.1.2.7. Create toolbar icons

In general:

Toolbar_New=Button,"<Toolbar Name>","<Parameter>"

Example:

Toolbar_New=Button,"Sys","FileOpen"

A number of icons is ordered according to the sequence in the configuration file.

The parameters to be used are found under Section 1.1.7.8.1.3, “Tweak parameters in detail”.

1.1.7.8.1.2.8. Deleting toolbars

In general:

Toolbar_Delete=Box,"<Toolbar Name>",""

Example:

Toolbar_Delete=Box,"MainWindow_Standard",""

The parameters to be used are found under Section 1.1.7.8.1.3, “Tweak parameters in detail”.

Deleting all toolbars:

Toolbar_Delete=All

1.1.7.8.1.2.9. Deleting icons

In general:

Toolbar_Delete=Button,"<Parameter>"

Example:

Toolbar_Delete=Button,"ViewSchematic"

The parameters to be used are found under Section 1.1.7.8.1.3, “Tweak parameters in detail”.

1.1.7.8.1.2.10. Set external and internal links

Links to external websites and also to an internal browser window can be easily realized.

Example:

  • Internal link

    Menu_New=LinkIntern,"CmdName","MenuName","ItemAfter","NotTopLevel","Visible Text","http://link-target.net"

  • External link

    Menu_New=LinkExtern,"CmdName","MenuName","ItemAfter","NotTopLevel","Visible Text","http://link-target.net"

Example (see figure above)

Menu_New=LinkIntern,"CmdLinkUserPortal","HelpMenu","","","User Portal (online)",
 "http://b2b.partcommunity.com/community/pages/partsolutions?partsolutions=1"

[Note] Note

The "CmdName" has to be unique for every link.

The comma can only be used as text separator for parameters an NOT be used in the text.