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

Customize Actions

Infomation

  • Below you will find an overview of the settings to be made on the respective data items, so that different actions can be carried out on the corresponsing data fields in user modules:
    • Links
    • Buttons
    • Context menu
    • Overwriting menu items
    • OLE with actions

From DB 39.5.14

Parameter Customize link Customize button Customize context menu Overwrite menu items Action on OLE
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 data field DI004336 Button/IronPython, which is created in a separate data area in the required module. Data items of DI class "13" (OLE DIs) or DI 025581 (background)
DF behavior Defines which object type is to be addressed via the link:
  • e2: Menu Item
  • e4: Module/Macro
  • e5: Module subclass
Defines which object type is to be activated via the button:
  • c2: Menu Item
  • c4: Module/Macro
  • c5: Module subclass
Defines which object type is to be activated via the context menu command:
  • m4: Open module/Open macro
  • m5: Module subclass
Defines with which object type the menu item is to be overwritten:
  • d2: Menu Item
  • d4: Module/Macro
Defines which object type is to be activated via Action on OLE:
  • a2: Menu Item
  • a4: Module/Macro
  • a5: Module subclass
Action ID Defines which object type is to be addressed 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
  • Menu item ID
  • Macro ID
  • Method name from the module subclass

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
Defines which object is to overwrite the menu item.

Depending on the DF behavior:

  • Module ID
  • Menu item ID
  • Macro ID
Defines which object is to be activated via Action on OLE.

Depending on the DF behavior:

  • Menu item ID
  • Module ID/Macro ID
  • Method name from the module subclass
Tooltip Here the text is entered which is displayed in the tooltip when moving the mouse over the link.

The entry can be a text and (or) variables.

Here, the text which is displayed when moving the mouse over the button in the tooltip.

The entry can be a text and (or) variables.

     
DF height

DF width

  Button height and width      
Symbol ID Symbol number

Defines the link properties: color, font


In the Standard, symbol 001807 is used.
Symbol number

Defines the button properties: Color, font


In the Standard, symbol 001304 is used.

If there is a button to which no symbol is assigned, the symbol which is assigned to DI004336 Button/IronPython in DT400 will be used.

     
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 DBOLE prefix 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 DBOLE prefix and the number of the OLE object in brackets.
DBOLE(001007)
 
Specialties This function must only be used on output fields. Buttons can be summarized in button areas. Data field DI004336 Button/IronPython 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.
  • To open a method with data field behavior *5, it must have the following signature:
def my_method(self, apllied_dfc, clicked_df):
    pass

From S 39.5.27 and C39.5.26

Parameter Customize link Customize button Customize context menu Overwrite menu items Action on OLE NEW
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 data field DI004336 Button/IronPython, which is created in a separate data area in the required module. Data items of DI class "13" (OLE DIs)
DF behavior Defines which object type is to be addressed via the link:
  • e1: Module
  • e2: Menu Item
  • e4: Macro
  • e5: Module subclass
Defines which object type is to be activated via the button:
  • c1: Module
  • c2: Menu Item
  • c4: Macro
  • c5: Module subclass
Defines which object type is to be activated via the context menu command:
  • m1: Open module
  • m4: Open macro
  • m5: Module subclass
Defines with which object type the menu item is to be overwritten:
  • d1: Module
  • d2: Menu Item
  • d4: Macro
Defines which object type is to be activated via Action on OLE:
  • a2: Menu Item
  • a4: Module/Macro
  • a5: Module subclass
Action ID Defines which object type is to be addressed 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
  • Menu item ID
  • Macro ID
  • Method name from the module subclass

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
Defines which object is to overwrite the menu item.

Depending on the DF behavior:

  • Module ID
  • Menu item ID
  • Macro ID
Defines which object is to be activated via Action on OLE.

Depending on the DF behavior:

  • Menu item ID
  • Module ID/Macro ID
  • Method name from the module subclass
Tooltip Here the text is entered which is displayed in the tooltip when moving the mouse over the link.

The entry can be a text and (or) variables.

Here, the text which is displayed when moving the mouse over the button in the tooltip.

The entry can be a text and (or) variables.

     
DF height

DF width

  Button height and width      
Symbol ID Symbol number

Defines the link properties: color, font


In the Standard, symbol 001807 is used.
Symbol number

Defines the button properties: Color, font


In the Standard, symbol 001304 is used.

If there is a button to which no symbol is assigned, the symbol which is assigned to DI004336 Button/IronPython in DT400 will be used.

     
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 DBOLE prefix 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 DBOLE prefix and the number of the OLE object in brackets.
DBOLE(001007)
 
Specialties This function must only be used on output fields. Buttons can be summarized in button areas. Data field DI004336 Button/IronPython 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.
  • To open a method with data field behavior *5, it must have the following signature:
def my_method(self, apllied_dfc, clicked_df):
    pass

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 data field DI004336 Button/IronPython, which is created in a separate data area in the required module.
DF behavior Defines which object type is to be addressed via 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 addressed 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 is displayed in the tooltip when moving the mouse over the link.

The entry can be a text and (or) a tooltip.

Here, the text which is displayed when moving the mouse over the button in the tooltip.

The entry can be a text and (or) tooltip.

   
DF height

DF width

  Button height and width    
Symbol ID Symbol number

Defines the link properties: color, font


In the Standard, symbol 001807 is used.
Symbol number

Defines the button properties: color, font


In the Standard, symbol 001304 is used.

If there is a button to which no symbol is assigned, the symbol which is assigned to DI004336 Button/IronPython in DT400 will be used.

   
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 DBOLE prefix 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 DBOLE prefix and the number of the OLE object in brackets.
DBOLE(001007)
 
Specialties This function must only be used on output fields. Buttons can be summarized in button areas. Data field DI004336 Button/IronPython 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 data field DI004336 Button/IronPython, which is created in a separate data area in the required module.
DF behavior Defines which object type is to be addressed via 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 addressed 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 is displayed in the tooltip when moving the mouse over the link.

You can use a text and (or) tooltip for your entry.

     
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 DBOLE prefix 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 DBOLE prefix and the number of the OLE object in brackets.
DBOLE(001007)
 
Specialties This function must only be used on output fields. Buttons can be summarized in button areas. Data field DI004336 Button/IronPython 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.

Buttons

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 only of buttons.
  • In the course of this, the following parameters are to be set in the data area:

To be Considered When Embedding Buttons

Notes
  • In PLANTA project, there are various modules in which records of a particular area are inserted and created via buttons (e.g. the New button in the Persons module) in addition to the menu item and context menu.
  • If creation and insertion are 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