Hi, I'm making a color dialog component and have a form with a tshape on it. When the user presses a button another form (dialog component) opens modally. In the new modal form's onmousemove event I have code which gets the color at the desired point and then it should set the tshape's color with that one. But the color dosen't get set while the mouse is moving over the modal (dialog) form, it gets set when the form closes. How can I pass the color to the main form while the mouse is moving over the modal one?