10177 : In VCL I want catch change of the active row in the grid to get the values of the grid level and the values of some grid columns…

…  begin     aNode:=phGant1.Grid.CellToNode(phGant1.Grid.FocusedCell)     aNode.Level;  // Grid level     aBabCell:=phGant1.Grid.Cell[X,aNode.AxisContentItem.ListIndex]; // Any cell in the X direction     phGant1.Grid.GetText(aBabCell); // The text value of the cell   end; end;… Continue reading

10390 : How I can find a timeitem by uservariantreference ?

…aList2Lev=axphGantX1.DataList3levGantTimes().get_DataList2Lev(i);     for(int ii=0;ii<aList2Lev.Count();ii++)     {       phGantXControl.IphDataList aList=aList2Lev.get_DataList(ii);       for(int iii=0;iii<aList.Count();iii++)       {         phGantXControl.IphDataEntity_GantTime2 aGantTime=aList.get_Items(iii) as phGantXControl.IphDataEntity_GantTime2;         if (aGantTime.UserVariantReference==THEONEIMLOOKINGFOR)         {         }       }     }… Continue reading

10206 : How can I select a timeitem in the gantarea

…    phGantXControl.IphDataList2lev aList2Lev=axphGantX1.DataList3levGantTimes().get_DataList2Lev(i);     for(int ii=0;ii<aList2Lev.Count();ii++)     {       phGantXControl.IphDataList aList=aList2Lev.get_DataList(ii);       for(int iii=0;iii<aList.Count();iii++)       {         phGantXControl.IphDataEntity_GantTime2 aGantTime=aList.get_Items(iii) as phGantXControl.IphDataEntity_GantTime2;         aGantTime.Start=aGantTime.Start.AddDays(1);         aGantTime.Stop=aGantTime.Stop.AddDays(1);       }     }  … Continue reading