Why can't I get the parent of an object?
A very simple example:
1) Create a new object TestParent. Everything is default except widget (Test) and size (200x200).
2) Create a new object TestChild. Everything is default except widget (Test) and it is a child of TestParent.
3) Create a script for TestChild as follows:
Code: vbscript
- Sub Object_OnMouseEnter
- Msgbox "This object's parent is " & Object.Parent.Object.Name
- End Sub
4) Apply everything, move the mouse over the small object, and bam!
DXScript: Scripting Error
Object Required: 'Object.Parent'
What is going on? The syntax is directly from the DesktopX documentation at https://www.stardock.com/products/desktopx/documentation/scripting/object_namespace.asp
Edit: DX 3.2 purchased version (with Object Desktop)