Button Enable/Disable

Button Enable/Disable

Based on the following thread:
https://www.copadata.com/forums/showthread.php?t=1205&highlight=button+lock
it appears that there is a way/parameter on buttons to enable/disable them. What I am attempting to do is have buttons be "grayed" out/disabled when the proper user isn't logged in to the system. Currently they stay there like usual and popup the login window when they are pressed if you don't have permission.
Thanks,
Midwest

This is a migrated post! Originally posted on 12.01.2016 by user midwestprogrammer. Please be aware that information can be outdated.