Read the output value of a custom method

Read the value returned by a custom method defined in a NetLogic.
For more information, see Custom methods and NetLogic.
  1. Read the output value of a custom method
  2. In
    Project view
    , select the object to trigger the method.
    For example, select a Button object.
  3. In
    Properties
    , associate an event with the custom method.
    For example, associate the custom method with the
    MouseClick event
    of the Button object.
    For more information, see Add a method to an existing event.
  4. In
    Project view
    , select the object to read the method output value.
    For example, select a Label or a Text box object.
  5. In
    Properties
    , create a dynamic link between the property to read the method output value and the output argument of the object that triggers the method.
    For more information, see Create dynamic links.
    For example, create a dynamic link between the
    Text
    property and
    ProjectName
    UI
    MainWindow (type)
    ObjectTriggeringMethod
    EventHandler
    MethodsToCall
    MethodContainer
    #
    OutputArguments
    OutputArgument
    .
This example shows a custom method that adds two numbers. The Text box object displays the returned value.
Download a sample project:
ReadMethodOutputValue.zip.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.