field_control_prompts_.htm
Navigation: Templates > Template Language Reference > Complete Alpha Listing >====== #FIELD (control prompts) ====== | |
#FIELD, WHERE( expression )
prompts
#ENDFIELD
#FIELD | Begins a control prompts section. |
WHERE | Specifies the #FIELD is used only for those instances where the expression is true. |
expression | An expression that specifies the condition for use. |
prompts | Prompt (#PROMPT, #BUTTON, etc.) statements. |
#ENDFIELD | Terminates the section. |
The #FIELD structure contains prompts for controls that are populated onto a window. These prompts appear in the Actions… dialog.
The list of field prompts appearing in the Actions… dialog is built in the following manner:
1.#CONTROL prompts.
2.#PROCEDURE-level #FIELD prompts (also from inserted #GROUPs).
3.#PROCEDURE-level #FIELD prompts from active #EXTENSION sections.
4.#CONTROL-level #FIELD prompts.
5.#CODE-level #FIELD prompts.
The values the user inputs into the #FIELD prompts are used to generate the source to govern the behavior of the control.
Example:
#FIELD, WHERE(%ControlType = 'BUTTON')
#PROMPT('Enter procedure call',PROCEDURE),%ButtonProc
#ENDFIELD
field_control_prompts_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1