EMBEDBUTTON (call Embeds dialog)

Top  Previous  Next

 

EMBEDBUTTON( identifier [,instance1,…instanceN] )

identifier

The user-defined template symbol which identifies the embedded source code point to edit.

instance

A string constant or expression containing one of the values in the multi-valued symbol used by the embedded dialog opened by . You must have as many instances as are necessary to explicitly identify the single #EMBED point instance to edit.

The EMBEDBUTTON type in a #PROMPT statement indicates the prompt's symbol will used to produce text on a button that opens the embedded source dialog. The embed points displayed are determined by the identifier’s template symbol and optional instances used to distinguish different embed areas. Essentially, this prompt allows the EMBED functionality to be called from a secondary window, eliminating screen clutter.

Example:

#PROMPT('Advanced...',EMBEDBUTTON(%ControlPostEventHandling,%Control,'Selected'))