TFields.IndexOf function
Return the index of a field instance.
Declaration
function IndexOf(Field: TField): LongIntArguments
Field | Field instance to search for. |
Function result
Index of
Field in the list.
Description
IndexOf scans the list of fields and returns the index of the field instance in the list (it compares actual field instances, not field names).
If the field does not appear in the list, -1 is returned.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
