I have several rich text boxes, and on top beside the label I have a + button to expand the rich text. I can create the logic to have the rich text box visible or not.
However to change the button from + to - from what I have read here the only solution I have seen is using variables with Set and/or UpdateContext. But I have lots of rich Text boxes. Is there a better way?
I've tried in the Text Button property for fun
If( richTextBox.Visible, "-", "false" )
Which would have been cool since Visible property is true or false. But it does not work
Power apps is declarative so you can't programmatically change control properties are runtime. The only way to do it is to set the property you want to change to a variable and then change the variable at runtime. So No, there is no better way.
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473