Configuring an event: general

This section provides general information about how to configure an event. Information about events available to the type of panel you are configuring are in the sections that follow.

Available events depend on the control that is being configured.

A list of additional events that can be used with specific controls is in another section.

See Default events.

  1. From the control which with you are working, click the Events tab.
  2. If an event that you want to use is available for selection, select it or if you want to create a new event, click New.
  3. Specify this information:
    Source
    Select Global if triggered by the execution of the window as a whole (not a single event). Otherwise, select Current Control if triggered by the execution of the control you are currently configuring. If the current control has a name, the name will be available for selection.
    Source event
    Source events tell what action or status change to listen for in another event.
    All controls that use events have the source event Startup available to them. This event tells the control to run when a user activates it.
    Target
    Select the control you want the parameters to be loaded to (if any).
    • Select Global if triggered by the execution of the window as a whole (not a single event).
    • Select Current Control if triggered by the execution of the control you are currently configuring. If the current control has a name, the name will be available for selection.
    • Select Close to close the window.
    • Select None if no target control exists. This event is used for the Activate and the Visibility* properties on the Event which makes it possible to change the visual state of a control.
    Target event
    Target events are used to store the source event so that it executes a specific action with the data retrieved from the source event. All controls that use events have the target events, Clear and Refresh.
    • Clear means perform a Clear action when the control completes.
    • Refresh means perform a Refresh action when the control completes.
    Specify this event only if it is not the default event for the target.
    Source Key
    Specify the name of the source or with a value. Do not use both.
    Target Key
    Specify the name that the target control will use for the value. Leave blank if you want to use the default of Source Key.
    Value
    Specify a value instead of a source key name. Do not populate both Source Key and Value. To insert values from the current panel, surround key names with curly braces {}.
    Select the check box to the right of this field if you want to send an empty attribute to the XAML for the control instead of a null result. Different controls will behave differently when this flag is enabled.
    Default Value
    Optionally, specify a value to be used if the actual value is null or empty. To specify values from the current panel, surround key names with curly braces {}.
    Select the check box to the right of this field if you want to send an empty attribute to the XAML for the control instead of a null result. Different controls will behave differently when this flag is enabled.
    Data Type
    Select data type: String, Numeric, or Date.
  4. Optionally, for parameters for conditions, specify this information:
    Note: Conditions are optional and can be used for filtering data to determine when an event occurs.
    Source Key
    Specify the name of the source or with a Source Value. Do not use both.
    Target Key
    Specify the name that the target control will use for the value. Leave blank if you want to use the default of Source Key.
    Source Value
    Specify a value for source instead of a source key name. Do not specify both Source Key and Source Value. To specify values from the current panel, surround key names with curly braces {}.
    Select the checkbox to the right of this field if you want to send an empty attribute to the XAML for the control instead of a null result. Different controls will behave differently when this flag is enabled.
    Target Value
    Optionally, specify a value to be used if the target value is null or empty. To specify values from the current panel, surround key names with curly braces {}.
    Select the check box to the right of this field if you want to send an empty attribute to the XAML for the control instead of a null result. Different controls will behave differently when this flag is enabled.
    Operator
    If your condition is a value based on a comparison, select the operator to be used.
    Activate
    Specify a comma-separated list of names of controls that should be activated when the event is executes.
    The setting is available for all controls. For TabItem and Expander controls, it sets focus to the controls.
    Always load
    By default an event is executed only when the target control is executed. This is to maximize performance.
    If an event should always be visible even if the target is not executed, select this setting.
    Link Uri
    If you want to link to a Uri when the event occurs, configure the location here. This can be either an external web page or a link to another mashup or server location.
    Debug
    When selected, a message dialog is displayed when the event is run with all the values loaded into the event.
    Visible
    This setting makes one or more specified controls visible. Typically you would use this event with Hidden. For example, you can specify an event that should be set to Visible for a control and then specify another event to hide the control.
    Hidden
    This setting makes one or more specified controls hidden. Typically you would use this event with Visible. For example, you can specify an event that should be set to Visible for a control and then specify another event to hide the control.
    Collapsible
    Select an available control, such as a status bar, that is visible or hidden on the control per the user's selection.
    External
    Select this setting for an absolute Uri, if you want users to be able to open the link as an external window outside of Infor Smart Office.

    The tables that follow describe available target events grouped by type, for example, Infor M3, Data Service, Infor Lawson (S3) and so on. If no events are listed, it means that the control (or the type of control) either uses only default controls or it does not support events.