Hi!
I have a page in my app with an advanced form control. there are 5 bits of the form separated out by buttons. the buttons are showing and hiding the information great with the variables:
Button OnClick:Set(varOI,!varOI);
Form Visible:varOI
but I have 2 others just like this:
varFI and varSummary
when I make OI visible, I need to make the others auto hide, and vice versa. I don't want them to all stack up on top of each other like they currently are. I currently have to re-click their own button to hid it again. not a great user experience 😞
@BHaapi ,
You can't use Set in your Visible property.
You need to Set those variables false in the same button onSelect where you set VarOI
nope, code error 😕
I tried doing some extra parenthesis and moving around the code but it didnt work. it grabbed the variable and the false when I was typing though.
@BHaapi ,
Try setting all the variables you need inside the one button OnSelect:
Button OnClick:Set(varOI,!varOI);
Form Visible:varOI;
Set(varFL, false);
Set(varSummary, false);
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional