Page 1 of 1

Copying controls inside a DataGrid, at run time

Posted: Thu Jul 21, 2016 6:35 pm
by trevix
I am building a sort of Gantt chart using a data grid.
Diamond shaped graphics, will sign the "milestones".
Since there could be any number of milestone on each line of the data grid, I tough about copying a single diamond graphic object (saved on the Raw Template), using the FillInData command.

Code: Select all

 on FillInData pDataArray
...
copy graphic "MilestoneTemp" to me
...
end FillInData
This works for the first line, but not on the second one and others.
Any clue?

Thanks
Trevix

Re: Copying controls inside a DataGrid, at run time

Posted: Sat Jul 23, 2016 9:24 am
by trevix
Sorry.
I forgot a "of me" in the script. Now it works.

It's kind of strange tough that I couldn't find any Gatt stack example on the web. Nobody needs it?