setdialogtrigger
setdialogtrigger
VALUE

The setdialogtrigger statement changes the value returned by the info(“dialogtrigger”) function.

Parameters

This statement has one parameter:

value – is the text to be placed into the info(“dialogtrigger”) buffer.

Description

The setdialogtrigger statement changes the value returned by the info(“dialogtrigger”) function. Usually this value is set automatically by Panorama when a button is clicked in a dialog. The setdialogtrigger statement allows a procedure to simulate this action.

The example below simulates clicking on the Cancel button in a dialog.

    setdialogtrigger "Cancel"

See Also

- Implicitly Triggered Procedures -- Procedures that are triggered automatically when the user performs some normal Panorama action are said to be "implicitly triggered."
- info("dialogtrigger") -- returns the name of the last button pressed in a standard alert or dialog.
- info("texteditortrigger") -- returns the reason why a Text Editor object triggered a procedure.
- info("trigger") -- returns information about how the current procedure was triggered.
- settrigger -- changes the value returned by the info("trigger") function.

History

Version | Status | Notes
10.0 | Updated | Carried over from previous versions of Panorama, however, there is no longer a 40 character limit.