taverny
asked on
how can I make a button greyout in dynamics
I would like to be able to check if a button is greyout and also make a button greyout for some requirement that I have in my vba.
how can I accomplish this? like in the picture attached
thanks
how can I accomplish this? like in the picture attached
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
look at the other appearance properties then ... something isn't right, it should grey-out. Can you send us a pic of your button with the button.enable = false please. I'll look further into it in the morning, I don't have VB at home.
ASKER
I am sorry , it does work my code was written in the wrong procedure so it was not showing .
Thanks
Thanks
LOL, story of our lives buddy!
ASKER
button.enabled works but doesn't make it gray out. it just make it not clickable. I wanted it more like the picture below:
button.JPG