From Xojo Documentation
Provides information on the attributes of an item via the Introspection system. You can add attributes for Project and Code Editor items in the IDE with the Attributes Editor.
|Name||String||The name of the attribute.|
|Value||Variant||The optional value of the attribute.|
You create attributes for an object by right+clicking on the item in the Project Editor or the Code Editor and choosing Attributes... from the contextual menu. Enter the attribute Name in the first column and optionally a Value in the second column.
The identifiers "Deprecated" and "Hidden" are currently the only reserved Names.
For attributes of classes, attributes are inherited from the parent class and attribute values are overridden if redefined by the subclass.
Suppose Window1 has three attributes: The first attribute contains the Name only and the others have both a Name and Value:
The following code retrieves the attributes and displays them in a ListBox: