Control.Handle
From Xojo Documentation
Read-Only Property (As Integer )
Returns a handle to the control.
Notes
For interfacing with Mac APIs using Declares, RectControl.Handle returns NSViews (except for Toolbar).
On Windows returns the HWND of the control.
On Linux it returns a GtkWidget.
Sample Code
The following gets a handle to the control.