{"name":"tvText","operator":null,"title":"tvText","type":"command","url":"https://community.bistudio.com/wiki/tvText","revid":330021,"updated":"2022-08-15T14:44:30Z","groups":["GUI Control - Tree View"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.74"}],"since":{"game":"arma3","name":"Arma 3","version":"0.74"},"arma3_since":"0.74","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns shown text in the item on given path. IDC means id of parent Tree View.","syntaxes":[{"syntax":"tvText [idc, path]","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":"path","type":"Array of Numbers","optional":false,"default":null,"description":null,"types":["Array","Number"],"since":null,"text":"path: Array of Numbers"}],"returns":{"type":"String","types":["String"],"description":null,"text":"String"},"form":"unary","operator":null,"left":null,"right":{"text":"[idc, path]","types":["Array"]}},{"syntax":"control tvText path","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":"path","type":"Array of Numbers","optional":false,"default":null,"description":null,"types":["Array","Number"],"since":null,"text":"path: Array of Numbers"}],"returns":{"type":"String","types":["String"],"description":null,"text":"String"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"path","types":["Array","Number"]}}],"examples":[{"text":"```sqf\ntvText [101, [0]];\n```","code":["tvText [101, [0]];"]},{"text":"```sqf\n_ctrl tvText [0,0,0];\n```","code":["_ctrl tvText [0,0,0];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["tvAdd","tvClear","tvCollapse","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvPicture","tvSetCurSel","tvSetData","tvSetPicture","tvSetValue","tvSort","tvSortByValue","tvValue","tvSetText"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - Tree View","Introduced with Arma 3 version 0.74","Scripting Commands"]}