origin (general description)

Syntax

<Path>.origin → object

The method origin accesses the object from which the object designated <Path> was derived most recently.

Compare this example: We copied the object Frame three times and named it Frame1, Frame2, and Frame3. Then, we insert Frame1 into Frame2, and Frame2 into Frame3.

When we call .Frame3.Frame2.Frame1.origin the result will be .Frame2.Frame1, as .Frame2.Frame1 is the object from which .Frame3.Frame2.Frame1 was derived most recently.

Return Value

The return value has the data type object.

Example

if local_change
  current.openDialog
else
  current.origin.openDialog
end

Related Topics

Show Origin in the class library

Open Origin in the dialog of the objects

Go to Origin in the dialog of the objects

on the Home Ribbon Tab