jamie, thanks by good intentions!
Here is some clarification.
I making some class for Lazarus coders. When coder
make code I cannot know your code. But my class, wich coder may to use, must attend all cases possibles.
The procedure myProc is some event metod of TButton. By sample can be
procedure Tfrm.Button1Click(Sender: TObject);
My class must attend each possible event metod of TButton.
I cannot know if coder have opened or not by sample this
procedure Tfrm.Button1MouseEnter(Sender: TObject);
So first my class detect if exists method OnMouseEnter for button1 in runtime.
And if exists my class must call this method by pointer if is necessary.
The pointer I have by using of PropInfo^.GetProc.
Thus is.