10499 : Virtual load in phGantTimePackage
Question I’m trying to figure out the virtual load stuff. I saw the word doc “virtualload.doc”, and the sample event was helpfull… however it never fires. I assume I need… Continue reading
Question I’m trying to figure out the virtual load stuff. I saw the word doc “virtualload.doc”, and the sample event was helpfull… however it never fires. I assume I need… Continue reading
…Gantt (instanse called G1) procedure TForm1.ButtonIterateClick(Sender: TObject); procedure IterateCellsInANode(aGridRow:TAxisContentItem); var x:integer; begin for x:=0 to G1.Grid.CellCountX-1 do begin G1.Grid.GetText(G1.Grid.Cell[x,aGridRow.ListIndex]); end; end; procedure IterateGanttRowContent(aGantRow:TGantRow); var i,ii:integer; aTimeItem:TphDataEntity_GantTime; begin // Iterate layers… Continue reading
…periods) in a day..’. My problem is that you posted a sample for GTP.Net saying that it would be the same for phGantTimePackage, but I can’t find the OnDateScalerPaintBackground or… Continue reading
…timebar from being moved or resized?? I was hoping to do something like the following but it DOES NOT work: tTime.AllowMove = .t. tTime.AllowChangeRow = .t. tTime.AllowResizeEast = .t. tTime.AllowResizeWest… Continue reading
…the OnValueChangedGantTime event. Check the argument theDataEntity!=null, and also check IphGantX3.GetMouseMoveMode==mmMove. If both these are true, the user is moving a time item… Use something like this then: _ThisIsARowMove=theGant.RowList.FindRowFromY(IphGantX3.MousePositionGantArea.Y)<>theDataEntity_GantTime.Row … Continue reading
…by multiple cells. One way to reach your desired result is to create a new CellLayout for each cell like this CellLayout cl=GetCell(0).Layout.Clone() as CellLayout; GetCell(0).Layout=cl; cl.Font.Color=Color.Red;… Continue reading
…a way to set the data source at runtime and just have the data appear? Maybe I’m just missing something simple. Answer Go like this Gantt.Grid.AutoCreateColumnsFromDataset=true, it should do it… Continue reading
Question Thank you for your replies, our company is in one step to buy your product! Your support are great! One more question about phGantTimePackage: How can I show a… Continue reading
…color on a selected cell. Please contact support if you need this update asap (we have it in the lab). Also please state if you use VS2005 or 2003. … Continue reading
…lines to distinguish rows. The answer was: draw a line using GDI. We did this, but there are difficulties with printing. You have to make a (nonlinear) correction for vertical… Continue reading