tvSetData

From Bohemia Interactive Community
Revision as of 10:28, 13 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>([^<]*)<nowiki\/?>([^<]*)<\/code>" to "<code>$1$2</code>")
Jump to navigation Jump to search

{{RV|type=command

|game1= arma3 |version1= 0.74

|gr1= GUI Control - Tree View

|arg= local

|eff= local

|descr= Sets string data to item on given path. IDC means id of parent Tree View.

|s1= tvSetData [idc, path, data]

|p1= idc: Number

|p2= path: Array of Numbers

|p3= data: String

|r1= Nothing

|s2= ctrl tvSetData [path, data]

|p21= ctrl: Control

|p22= path: Array of Numbers

|p23= data: String

|r2= Nothing

|x1=

tvSetData [101, [0], "Test data"];

|x2= _ctrl tvSetData [[0,0,0], "Test data"];

|seealso= tvAdd tvClear tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetPicture tvSetValue tvSort tvSortByValue tvText tvValue }}