setFieldTouched()

SetFieldTouched() is used to set the value for the touched flag of the specified fields.  The method needs two arguments: the fields list and the flag value:

CALL DIALOG.SetFieldTouched("field_list", value)

There is some specifics about using variables with ui.Dialog methods.

You can learn about them here.

The reference rules for the fields are the same as with the GetFieldTouched() method:

  1. A field name with an optional prefix.
  2. A screen_record identifier with an asterisk, which means that the method will check all the fields included to the specified screen record.
  3. An asterisk identifying that the method will check all the fields used in the current dialog.

The value can be set as TRUE - to set the fields as touched and FALSE to set them as untouched:

CALL DIALOG.SetFieldTouched("scrrec.*", TRUE)

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.