Xray not displaying expected object properties

The online help address I was given here is flagged by Xray as wrong. Does it need this help to display object properties?
Attached is a test database. Clicking on the Push To Test button launches Xray, which is supposed to display properties of button PB2. When it comes up, all of the display types are grayed, the object is identified as ::com::sun::star::script::NativeObjectWrapper, and it has the sole property Object ID, which oddly is incremented every time I Xray in and out of it. I read the Xray intro doc and got no clarification at all as to what’s going on.

BozoLODatabase.odb (776.0 KB)

The macro for the button is linked to the identifier for the object - nothing else.

Sub XrayPB2Obj(oEvent AS OBJECT)
Xray oEvent.Source.Model
End Sub

This will give you informations about the model of the button.

Thank you! That’s much more better! But what’s the syntax for xraying any other object, not the event source? MyObj.model doesn’t work, and of course MyObj.source.model doesn’t either, since .source is an event source.

If you are looking for any field in a form type this:

oForm = thisComponent.drawpage.forms.getByName("Filter")
oField = oForm.getByname("The name of the field in the form Filter")
xray oField