DEFINE WINDOW oWndChild MDICHILD OF oWnd1 PIXEL FROM nTop, nLeft TO nBottom, nRight ;
TITLE cTitle
DEFINE BUTTONBAR oBar OF oWndChild
DEFINE BUTTON OF oBar ACTION MsgInfo( "Action" )
DEFINE BUTTON OF oBar ACTION oWndChild:End()
@ 1, 1 LISTBOX oLbx FIELDS arr1[oLbx:nAt,1],;
arr1[oLbx:nAt,2] ;
HEADERS "Código","Nombre" ;
SIZE 200,137 PIXEL OF oWndChild
oLbx:SetArray( arr1 )
// oWndChild:bResized := {|| oLst:SetSize( oWndChild:nWidth() - 17, oWndChild:nHeight() - iif(LargeFonts(), 79, 69) ) }
oWndChild:Center()
ACTIVATE WINDOW oWndChild ; // ON INIT (Eval(oWndChild:bResized)) ;
VALID IF(MsgYesNo( "¿ Confirma cerrar esta ventana ?" ), ;
FCierre( SUBSTR(oWndChild:cCaption,10,LEN(oMcf:Estacion)), oWndChild ),)El error que aparece es un MsgStop con el texto: "Error BASE/1132 Bound error: array access from Errorsys, line: 0", y no puedo ver mas nada !
El arreglo arr1 fue definido con 8 filas por dos columnas, TODOS datos tipo character (texto).
Gracias anticipadas....
Visita mi Blog en http://mangucybernetico.blogspot.com/
xHarbour 1.1.0 + FWH810 + Borland 5.5.1