Abort GUI 'OK' click due to validation of form input

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.
User avatar
jvierra
Posts: 13622
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Abort GUI 'OK' click due to validation of form input

Post by jvierra » Sat Sep 01, 2018 3:05 pm

Here is an example of simple validation.
Attachments
Demo-SimppeValidation.psf
(26.41 KiB) Downloaded 21 times

Locked