Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

FormGetText

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the current text from a form field. You should call this function only while the form is displayed; for example,, from a field callback function.

Syntax

FormGetText(hForm, hField)

hForm:

The form handle, returned from the FormNew() function. The form handle identifies the table where all data on the associated form is stored.

hField:

The field handle of the field currently selected.

Return Value

The field text (as a string).

FormSetText, FormNew

Example

FUNCTION Search()

INT hForm,hField;
STRING Recipe;
FormCurr(hForm,hField);
Recipe=FormGetText(hForm,hField);
! Go and find recipe.
..

END

See Also

Form Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in