Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • By right-clicking a button (or another similar element) and selecting ‘Build Logic…’ (this defaults to the onclick event).



  • If you right-click the canvas and select ‘Build Logic…’, this will create a routine for Screen Initialization.

  • You can also find an event property on a Widget and click the ‘gears’ icon to start building the low-code logic for that particular event.



  • To define a routine for when the program starts, go to the Logic tab and click the icon that looks like a ‘play’ button:



  • Finally, if a routine already exists, you can find it under the Logic tab, and double-click to modify it. A

    Image Added


When creating or modifying a routine, a series of steps will appear:

...

Image Added


Routines are stored at the global rather than the screen level of a Rich Display. It is possible for the same routine to be reused by multiple screens or widgets. One routine can also call another routine directly. To create a reusable routine that is not assigned to any screen event, you must assign it to the "user defined routine" property.

When you create a routine, it is given a default name. You can change the routine name in the same dialog where the steps are defined. Simply find the ‘rename routine’ icon: .  Routine names are case-sensitive and can contain spaces. The naming convention for routines is all lower caselowercase.

You can reorder the routines on the Logic tab. The sequence of the routines does not affect the functionality of the application.