Hola
Tengo un problemita con TGraph baje la actualización que publico amablemente el señor Alfredo Arteaga
http://fivetechsoft.com/forums/viewtopic.php?t=10374
Donde explica que ya se puede usar fondos de colores degradados, pues se compila y enlaza muy bien pero cuando se ejecuta mi programita si sale el fondo degradado pero después de eso sale un error que les pongo aquí abajo y con un pedazo de mi programa donde uso el Tgraph que son una poquitas líneas espero me den una ayudadita
---------------------- Mi codigo --------------------
A9 :=10
A14 :=20
A16 :=30
A20 :=40
AMBU21 :=0
A24 :=60
A25 :=70
A26 :=80
dbselectarea("BITACORA")
COUNT TO AMBU21 FOR BITACORA->UNIDAD ="A-21"
@00,24.61 GRAPH oGraph OF oWnd ;
SIZE 1085, 335 TYPE 1;
YVALUES 3D XGRID YGRID LEGENDS
oGraph:aSeries = { { "A-09", CLR_CYAN },;
{ "A-14", CLR_YELLOW },;
{ "A-16", CLR_HRED },; { "A-20", CLR_BLUE },;
{ "A-21", CLR_HCYAN },;
{ "A-24", CLR_GREEN },;
{ "A-25", CLR_RED },;
{ "A-26", CLR_HBLUE } }
oGraph:aData = { {A9},{A14},{A16},{A20},{AMBU21},{A24},{A25},{A26} }
oGraph:l3D := .T.
oGraph:lPopUp := .T.
oGraph:lLegends:= .T.
oGraph:lSelView:= .T.
oGraph:cPicture:="9999999999"
oGraph:nBarSep:=05
oGraph:cTitle:= "SERVICIOS POR UNIDAD"
oGraph:lcTitle:= .T.
oGraph:lViewVal:= .T.
oGraph:cBitmap := "brush.bmp"
oGraph:nClrX = CLR_GREEN
oGraph:nClrY = CLR_RED
-----------------------El error-----------------------
Application
===========
Path and name: C:\FWH\BITACORA\BITACORA.Exe (32 bits)
Size: 540,672 bytes
Time from start: 0 hours 0 mins 4 secs
Error occurred at: 04/15/08, 01:02:55
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... }
[ 2] = N 3
Stack Calls
===========
Called from: TGRAPH.PRG => TGRAPH:PAINT(764)
Called from: TGRAPH.PRG => (b)TGRAPH:TGRAPH(109)
Called from: => TGRAPH:DISPLAY(0)
Called from: CONTROL.PRG => TGRAPH:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => UPDATEWINDOW(0)
Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
Called from: TEST2003.PRG => MAIN(347)
System
======
CPU type: Intel(R) Pentium(R) 4 CPU 2.80GHz 2883 Mhz
Hardware memory: 2048 megs
Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %
Compiler version: xHarbour build 1.1.0 Intl. (SimpLex)
Windows version: 5.1, Build 2600 Service Pack 2
MUCHAS GRACIAS POR ADELANTADO
SOY MUY LATOSA ??
SALUDITOS