{"name":"lbSetPictureColorDisabled","operator":null,"title":"lbSetPictureColorDisabled","type":"command","url":"https://community.bistudio.com/wiki/lbSetPictureColorDisabled","revid":377804,"updated":"2026-01-03T04:08:02Z","groups":["GUI Control - ListBox"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.20"}],"since":{"game":"arma3","name":"Arma 3","version":"1.20"},"arma3_since":"1.20","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets the disabled color of item's picture (left) with the given index of the listbox with id idc of the topmost user dialog to the given color. Color is in format Color (RGBA). Color which consists from only zeros means disable this override.","syntaxes":[{"syntax":"lbSetPictureColorDisabled [idc, index, color]","since":null,"effect":null,"exec":null,"params":[{"name":"idc","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"idc: Number"},{"name":"index","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"index: Number"},{"name":"color","type":null,"optional":false,"default":null,"description":"Color (RGBA)","types":["Color"],"since":null,"text":"color: Color (RGBA)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[idc, index, color]","types":["Array"]}},{"syntax":"control lbSetPictureColorDisabled [index, color]","since":null,"effect":null,"exec":null,"params":[{"name":"control","type":"Control","optional":false,"default":null,"description":null,"types":["Control"],"since":null,"text":"control: Control"},{"name":"index","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"index: Number"},{"name":"color","type":null,"optional":false,"default":null,"description":"Color (RGBA)","types":["Color"],"since":null,"text":"color: Color (RGBA)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"[index, color]","types":["Array"]}}],"examples":[{"text":"```sqf\nlbSetPictureColorDisabled [101, 0, [1, 1, 1, 0.25]];\n```","code":["lbSetPictureColorDisabled [101, 0, [1, 1, 1, 0.25]];"]},{"text":"```sqf\n_ctrl lbSetPictureColorDisabled [0, [1, 1, 1, 0.25]];\n```","code":["_ctrl lbSetPictureColorDisabled [0, [1, 1, 1, 0.25]];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["lbSetPictureColor","lbSetPictureRightColor","lbSetPictureRightColorDisabled"],"notes":[{"user":"ffur2007slx2_5","date":"2014-09-10T16:30:00Z","text":"More information on the CT_LISTBOX command family can be found here."}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - ListBox","Introduced with Arma 3 version 1.20","Scripting Commands"]}