EventOrSub

EventIcon Description

This node represents an event or a subroutine inside a Events and Subroutines node. See Events nodes in K2BTools Patterns for more information.

Properties

Category Name Value
General Name

The event or subroutine name. Common options, such as Start, Refresh, or Load are provided by default, but the developer can specify any other name.

NOTES:

  • If the name chosen is already used in an event or subroutine generated by K2BTools, the code specified in the Begin Code and End Code will be prepended or appended to the generated code.
  • If the name chosen is not used in K2BTools generated code, a new event or subroutine will be added in the object with both the Begin Code and the End Code, in that order.
  • If the event or subroutine name should contain quotes, they must be included by the developer.
  • The value "MainGrid.Load" corresponds to the Load Event associated to the object's grid (if any).
Type Indicates if the node should be associated to an Event or a Subroutine.
Begin Code Contains the code that should be used at the beggining of the event or soubrutine code. See Events nodes in K2BTools Patterns for more information.
End Code Contains the code that should be used at the end of the event or soubrutine code. See Events nodes in K2BTools Patterns for more information.
Use In Work With Determines if this event will be included in Work With objects.
Use In Report Determines if this event will be included in Report objects.
Use In Export Determines if this event will be included in Export objects.
Use In Secondary View Determines if this event will be included in Secondary grid view objects.