Top  >  Lycia reference  >  Querix 4GL  >  Classes and Methods  >  ui classes and methods  >  ui.Dialog methods  >  Field manipulation methods  >  ui.Dialog.setFieldTouched()

ui.Dialog.setFieldTouched()

The SetFieldTouched() method 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:

DIALOG.SetFieldTouched("field_list", value)

The rules of the fields reference are the same as with the GetFieldTouched() method.

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

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