TControl.Path

The path of objects being opened leading to this control.

Source

UserInterface.Control.pas (458)

Description

Path carries along context in which a control is created. Whenever a control is created from another control for a certain object, that object can be added to the path. This serves a number of purposes.

  • The lifetime of objects in the path can be managed
  • The path can be presented to the user and used to navigate back to earlier controls
  • The path can be searched by code that needs access to some shared object