settrigger
VALUE

The settrigger statement changes the value returned by the info(“trigger”) function.


Parameters

This statement has one parameter:

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


Description

The settrigger statement changes the value returned by the info(“trigger”) function. Usually this value is set automatically by Panorama when it triggers a procedure. The settrigger statement allows a procedure to simulate this action.

The example below triggers the print section of the .CustomMenu procedure. As far as the .CustomMenu procedure is concerned, it thinks that the user selected Print from the File menu.

settrigger "Menu.File.Print"
call .CustomMenu

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from previous versions of Panorama, however, there is no longer a 40 character limit.