lxets 3 Posted March 23, 2016 Hey, I have created a controls group with various buttons/images, and I am wondering if its possible to delete everything within a controls group at once, without them having an idc. Thanks. Share this post Link to post Share on other sites
bull_a 44 Posted March 23, 2016 Not without an IDC. Im hoping that the command allControls will be extended in the future to except a RscControlsGroup control. I did experiment with ctrlParent, but that will still only return the display (not the RscControlsGroup) Share this post Link to post Share on other sites
lxets 3 Posted March 24, 2016 Ah ok, do you know how to go about clearing a control group then, I can't seem to use ctrlDelete on any controls within the control group, even with an IDC. _controls = allControls findDisplay 8000; { if (ctrlIDC _x > 8018) then {ctrlDelete _x}; }forEach _controls; //Also tried _controls = allControls findDisplay 8000; { if (ctrlIDC _x > 8018) then {ctrlDelete ((findDisplay 8000) displayctrl (ctrlIDC _x))}; }forEach _controls; I can use ctrlShow etc to hide the controls in the same way im trying to delete them, so I guess im just using ctrlDelete wrong, but I can't get it to work. Share this post Link to post Share on other sites