edtan
7 years agoNew Contributor
Sys.Refresh() prevents Window object from being recognised as VCLObject
Hi,
The Delphi application I am testing starts with this flow:
Splash screen -> login screen -> main window.
The main window is represented as a Window object in the object browser and ...
- 7 years ago
In re-reading your post, you're using the "Find" method and using the "Name" property of the object to find what you're looking for.
Name is not a recommended property to use, to be honest. A better way would be to examine the object and pick a set of properties that uniquely identify it. You can then pass them as arrays to the find object.