10119 : How can I do a container row in activeX?
Question How can I do a container row in activeX? I´m workin in Visual foxpro ver.8.0. Please send me a example. im working with the demo version. Thank you. Answer… Continue reading
Question How can I do a container row in activeX? I´m workin in Visual foxpro ver.8.0. Please send me a example. im working with the demo version. Thank you. Answer… Continue reading
…void buttonToggleHideTime_Click(object sender, System.EventArgs e) { timeHide=!timeHide; if (timeHide) dateScaler1.HideHours(new int[]{11,12,13}); else dateScaler1.ShowHours(new int[]{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}); } For further info look up PlexityHide.GTP.DateScaler.HideDays and PlexityHide.GTP.DateScaler.HideHours… Continue reading
…and wich is the one who “suffer” the overlap? Answer To force time items to be placed side by side you simple turn on CollisionDetection (default on). As to how to… Continue reading
…and remember the column index. Implement IphGantX3.OnMouseDown, check that theSubComponent==gscGrid. Find the cell if any; You can do this with IphGantX3,GetGridCellRect(x,0, out aTop: OleVariant; out aLeft: OleVariant; out aBottom:… Continue reading
…if (beforeFocusChange.OldFocusedCell!=null && beforeFocusChange.NewFocusedCell!=null) { if (beforeFocusChange.OldFocusedCell.Column.Index==2 && beforeFocusChange.NewFocusedCell.Column.Index==1) { // For some reason I do want the user to be able to move backwards from… Continue reading
…recursive strategy like this: public string GetIdentityOfNode(GridNode aNode) { if (aNode.ParentNode==null) { // this was a root node return the index return aNode.Index.ToString(); } else { return GetIdentityOfNode(aNode.ParentNode)+”.”+aNode.Index.ToString(); } }… Continue reading
Question I have userdrawn timeitems that are smaller (shorter in height) than the standard timeitem rectangle (rect). When connecting timeitemlinks, the links attach below the userdrawn timeitem. How do I… Continue reading
…and put some code there like: if (e.TimeItem.Selected) Gantt.Grid.GridStructure.FocusedCell=e.TimeItem.GanttRow.GridNode.GetCell(0); In phGantTimePackage the event is called IphGantX3.OnSelectionChangedGantTime, and the code would look like this if (theDataEntity.Selected) IphGantX3.GridCellFocusedY=(theDataEntity.Row.TreeNode as IphDataEntity_Tree3).GridRowIndex;… Continue reading
…components to your toolbox by hand. In VS2005 beta2, right click the toolbox and choose “Choose Items”, click “Browse”, go to c:\program\plexityhide.com\GTP.NET 2.0 and choose PlexityHide.GTP.dll and PlexityHide.GTP.WEB.dll… Click OK. They… Continue reading
…e.TimeItem.TimeItemLayout.TimeItemStyle=TimeItemStyle.Square; TimeItemDraw.Draw(e.G,e.TimeItem,e.Rect,e.TimeItem.Selected,e.TimeItem.TimeItemLayout); e.TimeItem.TimeItemLayout.TimeItemStyle=TimeItemStyle.User; if (e.TimeItem.UserReference is Double) { System.Drawing.Point xy1=new System.Drawing.Point(e.Rect.Left,(int)(e.Rect.Top+e.Rect.Height/2)); System.Drawing.Point xy2=new System.Drawing.Point(xy1.X+(int)(((double)e.TimeItem.UserReference)/100*e.Rect.Width),xy1.Y); e.G.DrawLine(new Pen(Color.YellowGreen,3),xy1,xy2); } } … Continue reading