Delegate.Constructor(p As Ptr)
From Xojo Documentation
Constructor
The delegate type's constructor takes a single Ptr, which is assumed to be correct for the delegate type.
Sample Code
Assume there is a Delegate declared as SimpleProc:
The delegate type's constructor takes a single Ptr, which is assumed to be correct for the delegate type.
Assume there is a Delegate declared as SimpleProc: