LuisPonce wrote:Gracias por responder Jose Luis
he puesto este codigo, con recursos, a partir de uno de los ejemplos de \Samples
REDEFINE XBROWSE oLbxAlmacenes ID 112 OF oDlgTraslado ;
ALIAS "FTAlmacenes" ;
HEADERS "Tipo", "Número","Fecha","Concepto","Cargo","Abono","Fec Capt" ;
fields "A_TIPO", "A_NUMPOL", "A_FHAMOV", "LEFT(A_CONCEP,35)", ;
"A_TOTCARG", "A_TOTCRED", "F_ECALTA" ;
CELL LINES FOOTERS NOBORDER
con el fichero xbrowse.ch al inicio, y al compilar con el xharbour me da este error :
Error E0030 syntax error "Syntax error at 'XBROWSE' "
1 error
No code generade
Le he dado mil vueltas, y no encuentro la razon de este mensaje
Te agradezco
REDEFINE XBROWSE oLbxAlmacenes ID 112 OF oDlgTraslado ;
ALIAS "FTAlmacenes" ;
COLUMNS "FILIAL","CODIGO","ALMACEN","CANTIDAD","UNIDAD" ;
HEADERS "FL","Co","Almacen","Cantidad","Unidad" ;
CELL LINES FOOTERS NOBORDER
REDEFINE XBROWSE oBrw ID 118 OF oDlg ;
COLUMNS "Codigo", "Nombre", "Apellido","CedulaIde" ;
HEADERS "Cod/Clte","Nombres","Apellidos","Cedula Id";
SIZES 70,170,170,140 ;
ALIAS (cAlias) FOOTERS LINES CELL
AEval( oBrw:aCols, { |o| o:nEditType := 0 ,; //No editables
o:nHeadStrAlign := 2 } ) //texto encab/col centrado
* New: XBROWSE Commands:
1. @ 0,0 XBROWSE and REDEFINE XBROWSE:
Now list of columns, fields, headers, etc. can also be specified as arrays in line or array variables can be
used. Example:
REDEFINE XBROWSE <clauses> HEADERS 'First', 'Last', ....
can also be written as
REDEFINE XBROWSE <clauses> HEADERS aHdrs .... ( where aHdrs := { 'First', 'Last', .... } )
This applies to all lists in xbrowse creation commands.
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: No registered users and 54 guests