While I'm trying to use capture image to clipboard the screen looks empty
Is this related to gfxsetzorder ? I tried to troubleshoot with different zorder but no luck, I looked into different examples here but it is working perfectly so I wonder what am I doing wrong here ?
CellHeight = Param( "Cell Height", 40, 30, 50, 1 );
CellWidth = Param( "Cell Width", 200, 200, 1000, 1 );
transx = Param( "Move Button Pack (X-Axis, bars)", 200, 0, 2000, 10 );
transy = Param( "Move Button Pack (Y-Axis, bars)", 15, 0, 2000, 5 );
trigger = ParamTrigger( "Reset Static Variables", "Click Here" );
slope4=Null;
x0 = 0 + transx;
y0 = 0 + transy;
idSlider = 50;
idslider2=51;
slope3=Null;
row = 1;
timestep = in1Minute;
slider = GuiSlider( idSlider, x0, y0 + ( row - 1 ) * CellHeight, CellWidth, CellHeight, notifyEditChange );
row++;
slider2 = GuiSlider( idSlider+1, x0, y0 + ( row - 1 ) * CellHeight, CellWidth, CellHeight, notifyEditChange );
if( slider == guiNew OR trigger )
{
GuiSetValue( idSlider, 10 );
GuiSetRange( idSlider, 1, 240, 1, 10 );
GuiEnable( idSlider, True );
}
if( slider2 == guiNew OR trigger )
{
GuiSetValue( idSlider2, 10 );
GuiSetRange( idSlider2, 1, 240, 1, 10 );
GuiEnable( idSlider2, True );
}
GfxSetZOrder( 1);
GfxSetCoordsMode( 1 );
SetChartBkColor( ColorRGB( 0, 0, 0 ) );
SetChartOptions( 0, chartShowArrows | chartShowDates );





