Skip to content

Prior_Focus - cUIObject

Returns the object that is positioned in the focus tree as the prior object at the same level as this object

Type: Property
Access: Read-Only
Data Type: Handle
Parameters: None

Syntax

Property Handle Prior_Focus
Access Type Syntax
Read Access: Get Prior_Focus to HandleVariable

Description

The Prior_Focus property returns the object that is positioned in the focus tree as the prior object at the same level as this object. If the object is not in a ring and there is not a prior_focus, the function returns zero.

Sample

Procedure Example
    handle hoPriorFocus

    Get Prior_Focus To hoPriorFocus
    Showln "Prior focus: " (Name (hoPriorFocus)) ' (' hoPriorFocus ')'
End_Procedure  // Example