|
Subject:
|
Event handler for moving a form
|
|
Posted By:
|
tericson
|
Post Date:
|
12/7/2006 12:35:16 PM
|
I'm trying to figure out if there's an event handler that triggers when you move a form. I want to set the transparency of a dialog form to 50% when it's being moved so that you can see what's behind it, but can't find a way to initialize the code.
|
|
Reply By:
|
GolferGuy
|
Reply Date:
|
12/11/2006 3:16:02 AM
|
I've never heard of anything like this, and just did a quick look and a couple of tests, and I don't see of any way to do this. Except, to remove the banner of the form header (where the X is in the upper right hand corner), create you own banner for the form with a text box, then use the mouseDown, and MouseMove events. I have never gotten them to work correctly, but I have gotten them to move the form, just not very smoothly. Good luck,
Vic
|