Is there a way to call user-defined functions in other forms via a pointer? I need to close windows that are docked to my main form using a function that creates a sliding effect. I want to point to that function on a mouse click event on the form for all possible open windows with the same function.