...
- 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
When creating or modifying a routine, a series of steps will appear:
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.
...