2.400 .value[integer]

This attribute of the file dialogs (filereq), after a successful multiple selection (attribute .multisel = true, return value of querybox() has been button_ok), contains a list with the complete paths of the files that the user has selected.

The number of selected files can be determined through .count[.value].

Definition

  • Data type

    string

  • Access

    get, set

  • changed event

    yes

Please bear in mind that the paths contain system-specific path delimiters.

In case of single-selection (.multisel = false), the selected file is returned in the attribute .value (without index).

Example

rule void PrintValues(object Fr)
{
  variable integer I;
  for I:=1 to Fr.count[.value] do
    print Fr.value[I];
  endfor
}

Particularities Microsoft Windows

The memory for the complete list of the selected paths is limited to 64 kB.

See also

Attribute value