Announcements
Hello,
I would like to disable a button if an icon is not visible.
I tried: If(PROMT_ICON.Visible=false, DisplayMode.Disabled, DisplayMode.Edit)
There are no squiggly lines. However, it doesn't seem to work.
Appreciate your help.
try this. As you can see icon is not visible and button is disabled. There is no DisplayMode.Disbaled. Just Disable
Thank you @zmansuri , it works!
Can you tell me though why use TRUE, when you meant to execute the boolean when the icon is not visible?
You can use either true or false. Write the values accordingly.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 354 Super User 2026 Season 2
M Bilal Khan 330
Mohsin Ali 232