Labelled By Method
The Labelled by method consists in finding another component:
-
That is at a fixed distance (CX,CY) from the targeted component
-
That has unique, distinguishing properties
This component is typically a label component located near the target component. But it can be any other component, anywhere on the screen.
With this method, you need to:
-
Declare an item that targets this label component
-
Set this item as Labelled by when you set item parameters (see Item Definition).
Desktop Studio stores as a criterion the distance between the targeted component and the label component. This distance is calculated in a unit independent of the screen resolution.
The target component will be searched for between the components located at this stored distance from the label component.