aadzhigitov
3 years agoNew Contributor
FindAll by alternative properties
Hi! I am using the FindAll method to find all objects of a certain classes on a form. For example: Object.FindAll('WndClass', 'regexp:^((Button)|(TButton)|(TcxButton)|(TdxBarButton)|(TdxLarg...
- 3 years ago
Hi,
> is - it possible to call FindAll once to find objects of the specified alternative properties
I am afraid this is not possible. If I remember it right, documentation says that 'or' condition (via regexp) can be used for property values only, but not for the property names. That is why I think that what you are looking for is not possible (at the moment, hopefully) and I do not have at the moment any better idea than two subsequent calls to .FindAll() like you do now.