Feb 08 2022 03:10 AM
Hi all,
I am trying to make it so when a button is clicked, a label below it with some text in it hides, when I click it again it re-appears.
Any help is appreciated. Thanks
Feb 08 2022 09:28 PM
Hi,
Set(hideLabel, true)
If(hideLabel, false, true)
And on your label's Visible function remove true and set it to hideLabel variable. So each time when you click on your button if hideLabel is true it will set it to false and hide your label, if it is false it will set it to true and display your label.
Hope this helps.
Oct 11 2023 06:28 PM
@sedattum , I think #2 should be like this:
OnSelect -> Set(hideLabel, !hideLabel)
to flip the hideLabel variable