The documentation from version 39.5.17 of PLANTA project can be found in the new PLANTA Online Help.

Start Action

From S 39.5.25

Parameter Customize link Customize button Customize context menu Overwrite menu items
DF Data item to be defined as a link A button is embedded in the required data area as DI004336 Button/IronPython.

A context menu entry is embedded in the required data area as Data Field DI004336 Button/IronPython.

The action is carried out on the DI004336 Button/IronPython, which is created in a separate data area in the required module.
DF behavior Defines which object type is to be activated through the link:
  • e1: Module
  • e2: Menu Item
  • e4: Macro
  • e5: Module subclass NEW
Defines which object type is to be activated via the button:
  • c1: Module
  • c2: Menu Item
  • c4: Macro
  • c5: Module subclass NEW
Defines which object type is to be activated via the context menu command:
  • m1: Open module
  • m4: Open macro
  • m5: Module subclass NEW
Defines with which object type the menu item is to be overwritten:
  • d1: Module
  • d2: Menu Item
  • d4: Macro
Action ID Defines which object type is to be activated via the link.

Depending on the DF behavior:

  • Module ID
  • Menu item ID
  • Macro ID
  • Method name from the module subclass NEW

Here, either the exact number of a particular object or a variable for the corresponding object can be entered.

Defines which object is to be activated via the button.

Depending on the DF behavior:

  • Module ID
  • Menu item ID
  • Macro ID
  • Method name from the module subclass NEW

Defines which object is to be activated via the context menu command.

Depending on the DF behavior:

  • Module ID
  • Macro ID
  • Method name from the module subclass NEW
Defines with which object the menu item is to be overwritten.

Depending on the DF behavior:

  • Module ID
  • Menu item ID
  • Macro ID
Tooltip Defines which text appears in the tooltip when moving the mouse over the link.

For an entry, you can use a text and (or) tooltip.

     
DF Height

DF Width

  Button height and width    
Symbol ID Symbol number

001807 is used by default.

Icon number

Defines the properties of the button: color, font

If no symbol is assigned to a button in data item DI004336 Button, the symbol assigned to data item 004336 Button in DT400 is used. Symbol 001304 is used in the standard system.

   
DF Heading   Name of the button.

If no DF heading is specified, the name of the corresponding object is displayed.

Name of the context menu entry.

If no DF heading is specified, the name of the corresponding object is displayed.

 
@L Variable       Here, the menu item to be overwritten is entered.
Default value   Here, an OLE that is displayed on the button can be deposited. For this purpose, enter the prefix DBOLE and the number of the OLE object in brackets.
DBOLE(001007)
Here you can store an OLE, which is displayed in front of the entry in the context menu. For this purpose, enter the prefix DBOLE and the number of the OLE object in brackets.
DBOLE(001007)
 
Specialties this function may only be used on output fields. Buttons can be summarized in button areas. The Button/IronPython data field DI004336 has to be customized in a visible window (windows 1-3). It is recommended to customize the DI004336 Button/IronPython data field in a separate data area and in window 9.

Notes

  • For all three actions,
    • the refresh mechanism of the @Ds is activated.
    • the invoker_record is filled.
  • NEW To open a method with data field behavior *5, it must have the following signature:
def my_method(self, apllied_dfc, clicked_df):
    pass

Up to S 39.5.25

Parameter Customize link Customize button Customize context menu Overwrite menu items
DF Data item to be defined as a link A button is embedded in the required data area as DI004336 Button/IronPython.

A context menu entry is embedded in the required data area as Data Field DI004336 Button/IronPython.

The action is carried out on the DI004336 Button/IronPython, which is created in a separate data area in the required module.
DF behavior Defines which object type is to be activated through the link:
  • e1: Module
  • e2: Menu Item
  • e4: Macro
Defines which object type is to be activated via the button:
  • c1: Module
  • c2: Menu Item
  • c4: Macro
Defines which object type is to be activated via the context menu command:
  • m1: Open module
  • m4: Open macro
Defines with which object type the menu item is to be overwritten:
  • d1: Module
  • d2: Menu Item
  • d4: Macro
Action ID Defines which object type is to be activated via the link.

Depending on the DF behavior:

  • Module ID
  • Menu item ID
  • Macro ID
  • Method name from the module subclass

Here, either the exact number of a particular object or a variable for the corresponding object can be entered.

Defines which object is to be activated via the button.

Depending on the DF behavior:

  • Module ID
  • ID menu item
  • Macro ID

Defines which object is to be activated via the context menu command.

Depending on the DF behavior:

  • Module ID
  • Macro ID
Defines with which object the menu item is to be overwritten.

Depending on the DF behavior:

  • Module ID
  • Menu item ID
  • Macro ID
Tooltip Defines which text appears in the tooltip when moving the mouse over the link.

For an entry, you can use a text and (or) tooltip.

     
DF Height

DF Width

  Button height and width    
Symbol ID Symbol number

001807 is used by default.

Icon number

Defines the properties of the button: color, font

If no symbol is assigned to a button in data item DI004336 Button, the symbol assigned to data item 004336 Button in DT400 is used. Symbol 001304 is used in the standard system.

   
DF Heading   Name of the button.

If no DF heading is specified, the name of the corresponding object is displayed.

Name of the context menu entry.

If no DF heading is specified, the name of the corresponding object is displayed.

 
@L Variable       Here, the menu item to be overwritten is entered.
Default value   Here, an OLE that is displayed on the button can be deposited. For this purpose, enter the prefix DBOLE and the number of the OLE object in brackets.
DBOLE(001007)
Here you can store an OLE, which is displayed in front of the entry in the context menu. For this purpose, enter the prefix DBOLE and the number of the OLE object in brackets.
DBOLE(001007)
 
Specialties this function may only be used on output fields. Buttons can be summarized in button areas. The Button/IronPython data field DI004336 has to be customized in a visible window (windows 1-3). It is recommended to customize the DI004336 Button/IronPython data field in a separate data area and in window 9.

Note

  • For all three actions,
    • the refresh mechanism of the @Ds is activated.
    • the invoker_record is filled.

Button Areas

Information

  • Buttons cannot only be incorporated in a data area, they can also be customized in a separate data area (button area).
  • In this case, the data area consists of buttons only.
  • In the course of this, the following parameters are to be set in the data area:

Things to Note When Embedding Buttons

Notes
  • In PLANTA project, there are various modules in which records of a particular area are inserted and created via button (e.g. the New button in the Persons module) in addition to the menu item and context menu.
  • If creation and insertion is to be blocked for the data area referenced by the button, the above mentioned button must be deleted or hidden in addition to the deactivation of the Creation and Insertion parameters.

         PLANTA project









 
  • Suche in Topic-Namen

  • Suche in Topic-Inhalten
This site is powered by the TWiki collaboration platform Powered by Perl