Text Display Custom Control

Discussions of Q-SYS hardware and software.

Moderators: Cameron Shoffner, Christian Cook, Kirk Fyvie, Martin Barbour, Fred Thomke, Gary Evans_QSC, Chris Brouelette

Thu Jun 22, 2017 7:57 am

  • Hi All

    Quick Question....Anyone used the Text Display in Custom Controls.

    I cannot seem to find any info on the Q-Sys site to help.

    My requirement is to have text on a UCI to become visible on a logic true state.

    Thanks and Cheers
    TomCat RSA
    Posts: 4
    Joined: Wed May 24, 2017 8:25 am

Thu Jun 22, 2017 7:08 pm

  • See attached image for Scriptable Controls configuration and below for code.

    Code: Select all
    -- Set the text to be what we want to show
    Controls['MyText'].String = 'Whatever you want to say.';

    -- Create a reusable function to call when we need to update
    -- the text visibility
    function updateText()

      -- The text should be invisible when the input is false (not true)
      Controls['MyText'].IsInvisible = not Controls['MyInput'].Boolean;

    -- Update the text invisibility when the input changes
    Controls['MyInput'].EventHandler = updateText;

    -- Update the text invisibility when the design starts
    Screen Shot 2017-06-23 at 12.03.01 pm.png
    Scriptable Controls
    Screen Shot 2017-06-23 at 12.03.01 pm.png (66.9 KiB) Viewed 419 times
    Possibly an old pro
    Posts: 26
    Joined: Fri Nov 06, 2015 1:59 am

Return to Q-SYS Support

  • Users browsing this forum: No registered users and 3 guests