LookupDisplayValue(Value: Variant): Integer;
LookupDisplayValue(Value: Object): UInteger;
Value. Displayed attribute value.
The LookupDisplayValue method searches for displayed attribute value and returns element index if the search is successful.
This method is relevant if the DisplayDifferentValue property returns True for the attribute. In this case the search using the LookupValue method may fail.
This method returns the first found element that has selected displayed attribute value. The method returns -1 if the specified attribute value could not be found. The value specified in the Value parameter is case-sensitive. Only full value is searched for.
See also: