[Overview][Resource strings][Constants][Types][Classes][Procedures and functions][Index] |
Find the first object with a matching property and value pair
Source position: tiObject.pas line 650
public function TtiObjectList.FindByProps( |
const AProps: array of string; |
const AVals: array of variant; |
ACaseSensitive: Boolean = True |
):TtiObject; virtual; |
Find the first object with a matching property and value pair. This function will find the first object whose properties passed in AProps match the values specified in AVals.
If no match is found, nil is returned.
Remark: | This function uses RTTI information to find properties, so the search will only traverse over Published properties, not Public properties. |