I_PROMPT

Set a variable prompt

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall I_PROMPT(window_id, field_spec, prompt)

Arguments

window_id

The ID of the input window in which you want the prompt to be displayed. (n)

field_spec

The specification for the field the prompt is associated with. (a)

prompt

The prompt to display. (a)

Discussion

I_PROMPT sets the prompt for a field.

For more information on setting prompts, see PROMPT, NOPROMPT .

Examples

In the following, a number is specified for the PROMPT qualifier for .FIELD, so the field fld1 has no prompt, but space for 20 characters has been allocated for a prompt.

.input inp, 5, 40
.field fld1, a10, prompt(20)
.end

The following call assigns a prompt to fld1:

xcall i_prompt(id, "fld1", "This is field one")