User Tools

Site Tools


field_control_prompts_.htm
Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #FIELD (control prompts) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#FIELD, WHERE( expression )

prompts

#ENDFIELD

blk2blue.jpg

#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

See Also:     #PROMPT #VALIDATE #ENABLE #DISPLAY #BUTTON

field_control_prompts_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)