Using the LocationChange event in PowerShell

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.

This forum is a space to discuss coding involving Graphical User Interfaces (GUI) in PowerShell or using WinForms controls, and technical issues related to development.

- Question about a licensed SAPIEN product? Post here: Product Support for Registered Users
- Question about a trial SAPIEN product? Post here: Former and Future Customers - Questions
This topic is 3 months and 6 days old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
DrewEaston
Posts: 49
Last visit: Thu Sep 05, 2024 11:42 am

Using the LocationChange event in PowerShell

Post by DrewEaston »

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?
This topic is 3 months and 6 days old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked