FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour REPORT alto de fila
Posts: 1076
Joined: Fri Oct 07, 2005 10:41 PM
REPORT alto de fila
Posted: Tue Jun 11, 2013 08:50 AM

Amigos,

Aqui dando lata, por mas que he buscado no encuentro como aumentar el alto de filas en la TReport. Se requiere sin necesidad de incrementar el tamaño de la fuente.

Agradecido de antemano

William, Morales

Saludos



méxico.sureste
Posts: 1076
Joined: Fri Oct 07, 2005 10:41 PM
Re: REPORT alto de fila
Posted: Wed Jun 12, 2013 05:29 PM

Amigos, alguien podria auxiliarme...

William, Morales

Saludos



méxico.sureste
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: REPORT alto de fila
Posted: Wed Jun 12, 2013 05:51 PM

Has mirado la DATA nStdLineHeight ?

Saludos

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1076
Joined: Fri Oct 07, 2005 10:41 PM
Re: REPORT alto de fila
Posted: Thu Jun 13, 2013 07:24 AM

Amigo cristobal,

He visto la data varias veces y he intentado cambiar el valor, pero, siempre me toma uno calculado y no muestra cambios alguno.

Donde seria el ajuste para que me permita el alto de filas?

Gracias de antemano por tu tiempo

William, Morales

Saludos



méxico.sureste
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: REPORT alto de fila
Posted: Thu Jun 13, 2013 08:30 AM
cnavarro wrote:Has mirado la DATA nStdLineHeight ?

Saludos



William
Hace ya mucho tiempo que me encontre con ese problema.
Modifique la clase añadiendo una DATA nPropLine que inclui cada vez que aparecía la DATA nStdLineHeight.
en la forma: nPropLine * nStdLineHeight
Dime si necesitas alguna cosa que esté en mi mano.
Saludos

Te adjunto donde lo modifique

Code (fw): Select all Collapse
En el New()

::nPropLine    := 1.0000

METHOD Play() CLASS TReport

.../...
FOR nFor2 := 1 TO nColumns

            IF !::lSummary
                ::aColumns[nFor2]:SayData(::nRow + ;
                          if( ::lDoubleSpace , ;
                             (( ::nStdLineHeight*::nPropLine ) / 2 ) , 0 ),;
                             ::aCols[nFor2] , nFor1 )
            ENDIF

.../...

METHOD StartLine(nHeight, lSeparator, lPonGrid, lHoriz, lVert ) CLASS TReport

   STATIC lRunning := .F.

   DEFAULT nHeight    := ::nStdLineHeight
   DEFAULT lSeparator := .F.

   if lPonGrid = Nil
      lPonGrid := .t.
   endif

   nHeight := nHeight*if( ::lDoubleSpace, ::nPropLine , 1 )

.../...

METHOD EndLine(nHeight) CLASS TReport

   STATIC lRunning := .F.

   DEFAULT nHeight := ::nStdLineHeight

   nHeight := nHeight*if( ::lDoubleSpace, ::nPropLine , 1 )

.../...


Espero te sirva
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1076
Joined: Fri Oct 07, 2005 10:41 PM
Re: REPORT alto de fila
Posted: Thu Jun 13, 2013 04:19 PM

cnavarro,

Gracias hare las pruebas.

William, Morales

Saludos



méxico.sureste

Continue the discussion