Page 1 of 1

gray out button based on user ID

Posted: Wed Jun 12, 2019 12:58 pm
by mqh777
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.163
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0

How do you gray out a button based on user ID? I only want a handful of users to be able to press a certain button on a form.
Thank you.

Re: gray out button based on user ID

Posted: Wed Jun 12, 2019 1:58 pm
by jvierra
Just disable the button when the form loads based on a list of users OR … selectively enable buttons based on a user list.