Link Property (SysLink Controls)

Applies to TestComplete 15.64, last modified on June 12, 2024


The Link property returns the Win32SysLinkItem object which provides scripting access to the link of the given Win32SysLinkObj control. To obtain the total number of links in the control, use the LinkCount property.



Read-Only Property A Win32SysLinkItem object
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Index [in]    Required    Integer    

Applies To

The property is applied to the following object:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.


The property has the following parameter:


The index of the desired link. The index is zero-based: the first link has index 0, the second - 1 and so on. Index of the last link is LinkCount - 1.

Property Value

A Win32SysLinkItem object which corresponds to the desired link.


If you use Python or DelphiScript, you should enclose the parameter of the Link property in square brackets: Link[Index].


To view an example that demonstrates how to use the Link property, see Obtaining SysLink Link Properties in Desktop Windows Applications.

See Also

Clicking a Link in SysLink Controls in Desktop Windows Applications
ClickLink Action (SysLink Controls)
LinkCount Property (SysLink Controls)
wText Property (SysLink Controls)
Click Action (SysLinkItem Objects)

Highlight search results