Skip to content

Long and Short Object Names

Each object has a long name and a short name. The short name is its relative name and is the name that you will use to access objects. This name is stored in a property called Object_Label. Any object’s relative name can be retrieved with the following code:

Get Object_Label to sName

Examples of Short Object Names

  • oArray1
  • oPanel
  • oContainer1
  • oButton1

An object’s long name consists of its short name and all of the short names of its ancestor objects. This name is stored in a property called Name. Any object’s long name can be retrieved with the following code:

Get Name to sName

Examples of Long Object Names

  • oArray1
  • oPanel
  • oPanel.oContainer1
  • oPanel.oContainer1.oButton1
  • oPanel.oContainer2.oButton1.oArray1