Docs

In-depth how-to’s on PoshGUI features

Events

Each control has a number of events that you can assign functions to, in order to execute code based on user interaction with the application

First Step – Click on a control to select it

Second Step – Select the events tab on the right sidebar

You can now see all of the events available for this specific control

The third step – Write your function name in the events textbox.

Your application will execute that function when the event will occur so remember to implement this function in the logic part of your application

You can read more about implementing your logic here

This is how the entire process looks like:

Click the image to enlarge it