@pgaudioworks said in I'd like to show and hide a panel using a button:
@d-healey thank you David. I'm getting this error:
Draft 1:! Line 7, column 22: API call with undefined parameter 0 {SW50ZXJmYWNlfG9uSW5pdCgpfDE3M3w3fDIy}
Here's what I have:
const var Panel1Red = Content.getComponent("Panel1Red"); const var Button1 = Content.getComponent("Button1"); Panel1Red.showControl(Button1.getValue);
nearly...
Panel1Red.showControl(Button1.getValue());
..see those extra ellipses at the end of getValue() ??