Using Truth Tables to Dynamically Pass an Image to a Form
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Using Truth Tables to Dynamically Pass an Image to a Form

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.14.0
Root FolderExample Lab - Dynamic Image on Form
Modules None
DependenciesNone

This project shows one method of deciding which image of a series of images to display on a form at runtime.


Explanation

In this example, a truth table is used to output an image that is then mapped into a form. The truth table is executed by using the output of a random number generator. The truth table will then output image A if the number is even and image B if the number is odd. The corresponding image is then passed to the Form and displayed to the user.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version [SPECIFY VERSION] or later using our Importing/Exporting article.





Was this article helpful?