Please See below a sample that is working fine with Harbour + Fivewin and
xHarbour (free version) + Fivewin. But is not working with xBuilder (xHarbour commercial version) + Fivewin. I mean the file BMP is created but cannot be open when created thru xBuilder.
Please can confirm this problem any of you that are using xBuilder?
Regards
George
xHarbour (free version) + Fivewin. But is not working with xBuilder (xHarbour commercial version) + Fivewin. I mean the file BMP is created but cannot be open when created thru xBuilder.
#include "Fivewin.ch"
#include "TGraph.ch"
FUNCTION MAIN()
LOCAL oDlg, oGraph
DEFINE DIALOG oDlg;
SIZE 600, 500
@ 1, 1 GRAPH oGraph;
SIZE 250, 200;
TYPE 1;
YVALUES 3D XGRID YGRID XVALUES LEGENDS
oGraph:aSeries = { { "Serie 1", CLR_CYAN , , },;
{ "Serie 2", CLR_YELLOW, 2, .T. },;
{ "Serie 3", CLR_HRED, 3, .F. } }
oGraph:aData = { { 14280, 20420, 12870, 25347, 7640 },;
{ 8350, 10315, 15870, 5347, 12340 },;
{ 12345, -8945, 10560, 15600, 17610 } }
oGraph:nClrX = CLR_GREEN
oGraph:nClrY = CLR_RED
@ 0, 0 BUTTON "Save2BMP" ACTION ( oGraph:Save2Bmp("GRAPH.BMP"),
msginfo("File GRAPH.BMP has been saved"))
ACTIVATE DIALOG oDlg CENTER
RETURN NILPlease can confirm this problem any of you that are using xBuilder?
Regards
George