Datagrid loc field dynamically
Posted: Thu Feb 22, 2018 2:46 pm
Hello,
I would like to set the position of a label dynamically in my datagrid template,
I tried this way but it works only for the first 2 lines.
behavior script:
thank you
I would like to set the position of a label dynamically in my datagrid template,
I tried this way but it works only for the first 2 lines.
behavior script:
Code: Select all
if the number of chars of pDataArray["A_B"] = 1 then
set the loc of field "E_B" of this card of me to 724,10
set the text of field "E_B" of me to pDataArray["A_B"]
else
set the loc of field "E_B" of this card of me to 722,10
set the text of field "E_B" of me to pDataArray["A_B"]
end if