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.
Solved! Go to Solution.
try this. As you can see icon is not visible and button is disabled. There is no DisplayMode.Disbaled. Just Disable
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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
190 | |
95 | |
65 | |
63 | |
58 |
User | Count |
---|---|
243 | |
163 | |
91 | |
79 | |
79 |