How To | Making a button invisible using Text Controller
Learn how to hide a button Text Controller in Q-SYS Designer.
Procedure
In some instances, you may need to temporarily remove controls that will be added back in later. Use the steps below to use a Text Controller component to make a button disappear using IsInvisible.
- Drag the Text Controller component into the design.
- Add 2 controls to the Block Controller. Set the control to Toggle.
- Name one button “Btn”, and the other button “Invisable”
- Open the script editor and copy this code snippet into the script editor.
Controls["Invisable"].EventHandler = function()
if Controls["Invisable"].Boolean then
Controls["Btn"].IsInvisible = true
else
Controls["Btn"].IsInvisible = false
end
end