11126 : Bigger jumps on datescaler scrolling

…+= new BeforeScaleOrSpanChangeEventHandler(DateScaler_OnBeforeScaleOrSpanChange);     }     void DateScaler_OnBeforeScaleOrSpanChange(DateScaler dateScaler, BeforeScaleOrSpanChangeArgs e)     {       if (e.DateScalerChangeKind==DateScalerChangeKind.userpan)       {         TimeSpan defaultjumpsize=e.NewStartTime-gantt1.DateScaler.StartTime;         // 4 times bigger jumps than default…        … Continue reading

11150 : if I want to add attributes like mouseover for the time times how do I do that?

…use ClientSideJavaScript_TimeItemInit event.   Is there any function avilable in plexityhide which i can add mouseover evenet for timeitem.   Answer   Sure, Go like this: Gantt_ASP .ClientSideJavaScript_TimeItemInit = “aImgElement.onmouseover=(function(event){alert(‘hello’);});\r\n”;  … Continue reading

10195 : How do I call PrintToHDC from C#?

…what it is? Answer aHdc=(int)e.Graphics.GetHdc().ToInt32(); uw=0; uh=0; axphSchemaX1.PrintToHdc(aHdc,0,0,200,20,aScale,aScale,aStartCol,axphSchemaX1.Columns().Count()-1, axphSchemaX1.ScalerStart, axphSchemaX1.ScalerStop,axphSchemaX1.FlipView,ref uw,ref uh); e.Graphics.ReleaseHdc((System.IntPtr)aHdc); Note: PrintToDefault grabs the Device Context Handle (hdc) from the windows deault printer and then uses PrintToHDC… Continue reading

10193 : Gantt will not refresh, and some callback events Like OnPrintToHdcNewPage will not fire in Microsoft Visual FoxPro

…UserDraw and Print new page etc: Sample: IF THISFORM.phGantX1.PrintSettingsDialog() SET PRINTER TO THISFORM.phGantX1.PrintSettingsPrinterName  _VFP.AutoYield= .F. THISFORM.phGantX1.PrintToDefault(3, 20, 6, 6, ; THISFORM.phGantX1.TreeWidth, THISFORM.phGantX1.TopItemTree, -1, .T., {}, ; DATE(), THISFORM.phGantX1.GetScaleLen, THISFORM.phGantX1.ScalerHeight,0,0) ENDIF… Continue reading