property Surface.FocusLink as Variant
Gets or sets the focused link

TypeDescription
Variant The FocusLink property is a get/set property that returns:
  • empty value, no link has been clicked/focused
  • a Link object that defines the link being focused

or it can be:

  • an empty value, to clear the focused link (no link is focused)
  • a string expression that determines the key of the newly focused link 
  • a numeric expression that specifies the index of the new link with the focus
  • a Link object that defines the newly focused link
By default, the FocusLink property is empty. The FocusLink property retrieves or changes the current link that is currently focused (selected or active) within the control. Getting the focused link might be useful if you want to perform an action based on the user's current selection. Setting the focused link might be useful if you want to guide the user’s navigation programmatically (e.g., moving focus to a specific link after a user action). The LayoutStartChanging(exFocusLink) / LayoutEndChanging(exFocusLink) property notifies your application once the user focuses a new link.