{"name":"ctrlShow","title":"ctrlShow","type":"command","url":"https://community.bistudio.com/wiki/ctrlShow","revid":370565,"updated":"2025-01-09T18:12:50Z","groups":["GUI Control"],"status":"ok","games":{"ofp":"1.75","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.75","arma3_since":"0.50","locality":{"argument":"local","effect":"local"},"description":"Shows or hides a control, or group of controls together with all the controls inside that group of controls.\nRead Arma: GUI Configuration for more information about user dialogs and controls.\n\n> [!NOTE]\n> Using ctrlShow on a controls group will show or hide all controls within the controls group (including controls that are placed in nested controls groups).","syntaxes":[{"syntax":"ctrlShow [idc, show]","params":[{"name":"idc","type":"Number","description":"control IDC","type_expr":"Number"},{"name":"show","type":"Boolean","description":"true to show the control, false to hide it","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[idc, show]"}},{"syntax":"control ctrlShow show","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"show","type":"Boolean","description":"true to show the control, false to hide it","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"show"}}],"examples":[{"code":["ctrlShow [100, false];"]},{"code":["_control ctrlShow false;"]}],"see_also":["ctrlVisible","ctrlShown","ctrlEnable"]}