Estimados amigos Hola, por favor alguien podría indicarme porqué en un mismo sencillo Report, la línea de abajo de los títulos de columnas, llamada con ::TotalLine( ::nTitleDnLine, GRID_ABOBEL ) desde el método ColTitle(), no imprime nada en impresoras térmicas, pero si imprime ok la línea en impres...
Could it be possible to use the same logic on TC5ToolTip :?: Tabs are ignored :( I think the problem belongs to these sections in CLASS TC5Tooltip FROM TWindow : DrawText( hDC, ::cHeader2, { ::aHeader2[ 1 ] + 1, ::aHeader2[ 2 ] + 20,; ::aHeader2[ 3 ], ::aHeader2[ 4 ] - 2 }, nOR( DT_WORDBREAK, 8192 )...
Buenos días a todos. Estoy mirando la clase tReport, (yo siempre he usado el clásico oPrn:Say) y no encuentro la manera de quitar/modificar las líneas de encabezado ni las de totales. Seguro que no es difícil pero ya he mirado en los foros ,etc.. y no acabo de verlo gracias anticipadas me respondo ...
Enrico, Appreciate your reply. I think the " Totals..." that appear at the report row beginning happens automatically when using the TOTAL clause of a column. I attach the program where it is used. Bruce [code] USE (cPath_seg + cFil ) alias VP NEW cOurAlias := alias() dBeg := what_beg_date...
Alveiro, No, asi no hace, puesto que así estarias creando un nuevo control TSay cada vez que se pintase el botón, y eso consumiría muchos recursos y al final incluso podria tirar la aplicación. La forma de escribir texto es usando la función DrawText() ó tambien serviría la función ExtTextOut(): oBt...
Jose Luis, En el código fuente de FWH se usa en diversos sitios. Un ejemplo: #define DT_TOP 0x00000000 #define DT_LEFT 0x00000000 #define DT_CENTER 0x00000001 #define DT_RIGHT 0x00000002 #define DT_VCENTER 0x00000004 #define DT_BOTTOM 0x00000008 #define DT_WORDBREAK 0x00000010 #define DT_SINGLELINE ...
In both the functions, the 4th parameter is nAlign only. This is always an Or'ed value of any of the constants like, DT_TOP, DT_LEFT, DT_SINGLELINE, DT_CALCRECT, etc. In the function DrawText, the 4th parameter has nothing to do with WS_VISIBLE or WS_CHILD. Using the numeric value of WS_VISIBLE | WS...
to make easy some tables printed Iuse the class Tinforme Pubblished by josè luis ( alanit) http://forums.fivetechsupport.com/viewtopic.php?f=6&t=20860&p=111880&hilit=tinforme#p111880 It run good and it is very easy to use only I wish inserted new features as colors for the text ( Title ,...
Hola Foro: El presente es para preguntar, como puedo detectar cuando se produce el corte de distintos grupos, como en el ejemplo adjunto, necesito detectarlo cuando se produce en uno u otro, debido a que necesito imprimir o no (dependiendo del grupo) las lineas separadoras y otros datos o fuentes......
Muy buenas foro, estoy utilizando un report y me gustaría poner el alto de las filas mas grande, ¿alguien me podría decir algo?, aquí teneis le código: define font oFont1 name "ARIAL" size 0, 9 define font oFont2 name "ARIAL" size 0, 11 bold define PEN oPen1 STYLE 0 WIDTH 1 COLOR...
Marco, I made a class as it .... http://img353.imageshack.us/img353/2516/tpainttileeg8.png @ 2,10 PANELTITLE oTitle OF oDlg ; PROMPT "Customer"; FONT oFont; SIZE 150,30; COLOR CLR_BLACK, CLR_WHITE; COLORTEXT CLR_WHITE; BITMAP "Test.bmp"; TEXTALIGN DT_VCENTER+DT_SI...
Pedro: Si tienes armado el GROUP puedes aprovechar el método ON ENDGROUP TuFuncion(oReporte) Y en la función TuFuncion() pruebalo así FUNCTION TuFuncion(oReporte) oReporte:TotalLine( RPT_SINGLELINE) // o RPT_DOUBLELINE RETURN(NIL) Tambien puedes apoyarte en oReporte:EndLine(), oReporte:StartLine() y...
Marco: Tal lo enviado a tu correo se me ocurrio esto ..... a mi me pasaba lo mismo se me ocurrio algo e hice la siguiente introduccion en MI codigo de programa aTabla:= Asort( aTabla ,,, { |X,Y| (x[1]+x[2] ) < (y[1]+y[2] ) } ) AAdd(aTabla,{"9999" ,; "99" ,; 0 ,; " " ...