Hello,
try to contact Pablo Botella, I am shure he has a solution for this problem
regards
Rudolf
 
"Loboda Maxim" < maksim@wgsoftpro.com> schrieb im Newsbeitrag news:783bbd72$72fa6878$15f@news.alaska-software.com...
Hello.
I try to use gantt-control fromhttp://www.gantt-component.com/ in my X-Base aplication, but I have a big problem with next code on C#: 
 
axWGSGanttGraphX1.DataSource.ColumnAppend( (WGSTreeCellTypeX)treesimpletextcol);
 
Does anybody use it? How can I implement this syntax in X-Base (how use transfer type?).
 
Now I tryed without any success
 
oControl := XbpActiveXControl():new(oParent,,{5,5},{oParent:currentSize()[1]-10,oParent:currentSize()[2]-25})
oControl:clsid := "{74AAF1AB-0A91-4EAF-95FE-1014C8731954}"
oControl:create()
 
ds := CreateObject("{2C5F91BC-0DBD-4D9B-A30F-EC963BF101D7}")
oControl:DataSourceX := ds
 
cel := CreateObject("{6A85F774-A229-48C7-8E87-4286C2D6338F}")
oControl:dataSource:RowAppend(cel)
 
Loboda Maxim