Write Callbacks in App Designer
NoteFor information on callbacks in GUIDE, see “Write Callbacks in GUIDE” on page 7-
- If you are creating an app programmatically, see “Write Callbacks for Apps Created
Programmatically” on page 10-5.
A callback is a function that executes when a user interacts with a UI component in your
app. Most components can have at least one callback. However some components, such
as labels and lamps, do not have callbacks because those components only display
information.
To see the list of callbacks that a component supports, select the component and click the
Callbacks tab in the Component Browser.
Create a Callback Function
There are several ways to create a callback for a UI component. You might use different
approaches depending on what part of App Designer you are working in. Choose the most
convenient approach from the following list.
- Right-click a component in the canvas, Component Browser, or App Layout pane,
and select Callbacks > Add (callback property) callback.
17 App Programming