Using the LocationChange event in PowerShell
Posted: Thu Sep 05, 2024 9:24 am
Hi Everyone,
Can anyone point me to or give me an example of the needed logic for the *_LocationChange event for a form itself.
I have first tried to have it show me a messagebox to tell me that the form location has changed BUT even moving a few pixels (about 8 or so) fires the event.
How to I check to tell when the movement of the form or it size adjustment have completed and not get an event for every pixel that it moves?
Can anyone point me to or give me an example of the needed logic for the *_LocationChange event for a form itself.
I have first tried to have it show me a messagebox to tell me that the form location has changed BUT even moving a few pixels (about 8 or so) fires the event.
How to I check to tell when the movement of the form or it size adjustment have completed and not get an event for every pixel that it moves?