Page 2 of 2

Re: XBrowse y Grupo de Columnas

PostPosted: Thu Aug 29, 2013 7:55 pm
by cnavarro
Gracias Mr Rao
He seguido sus instrucciones y muestro en imagenes el resultado

Thanks Mr Rao
I followed your instructions and show the result in images

Image

El bPaintText esta definido en la columna 2
Al seleccionar en la columna que no contiene el bPaintText me borra esa parte de la imagen. Alguna sugerencia?

The bPaintText is defined in column 2
When you select the column that contains the bPaintText I delete that part of the image. Any suggestions?

Code: Select all  Expand view

   oXBrw:aCols[ 2 ]:bPaintText = { | oCol, hDC, cText, aCoors, aColors, lHighlight | DrawImg( oXBrw, oCol, hDC, aBmps, aCoors, 4 ) }
 


Image

La estructura del array de imagenes de las columnas 1 y 2 solo contienen 3 imagenes para dejar espacio para dibujar la imagen en la columna 2 y fila 4

The structure of the array of images in columns 1 and 2 contain only 3 images to make room to draw the image in column 2 and row 4

Gracias anticipadas

Thanks in advance

Re: XBrowse y Grupo de Columnas

PostPosted: Thu Aug 29, 2013 8:20 pm
by nageswaragunupudi
When col 1 is selected, col 1 bPaintText also should paint full image. ( check lHighLite paramter )

Re: XBrowse y Grupo de Columnas

PostPosted: Thu Aug 29, 2013 9:13 pm
by cnavarro
nageswaragunupudi wrote:You need to do with bPaintText()

bPaintText() of one column does not paint anything and bPaintText() of another column draws the image in the full width of both the columns


Mr Rao

When col 1 is selected, col 1 bPaintText also should paint full image. ( check lHighLite paramter )


Entonces no he entendido sus respuestas
El parámetro lHighligh a .T. va a producir el resultado deseado?

Then I misunderstood your answers
LHighligh parameter a. T. will produce the desired result?

Este parametro esta asociado a los metodos PaintCell y PaintData, como he de hacer para cambiar este parámetro?

This parameter is associated with PaintCell and PaintData methods, as I do to change this setting?


Mis disculpas, pero estoy perdido

My apologies, but I'm lost

Re: XBrowse y Grupo de Columnas

PostPosted: Mon Oct 07, 2013 7:12 pm
by cnavarro
Mr. Rao

Tiene usted pensado implementar esta opcion en las cabeceras de los grupos de columnas?

Have you thought of implementing this option in the header column groups?


- The names of groups always aligned in the center (AL_CENTER), how to come out AL_LEFT modify or AL_RIGHT?

nageswaragunupudi escribió:

This is not provided even in the current version.
You need to change xbrowse.prg or override paintheader() method of TXBrwColumn


Asi se ve el ejemplo con FW13.08 (XBrowse original)

So you see the example FW13.08 (Original xBrowse)

Image

y asi con la clase modificada:
- Alineacion a la izquierda de los nombres de grupos
- Pintar los nombres de grupos más abajo si no hay titulos de columnas

and so the modified class:
- Alignment to the left of the group names
- Paint group names below if no columns titles

Image

Re: XBrowse y Grupo de Columnas

PostPosted: Mon Oct 07, 2013 7:24 pm
by cnavarro
Mr. Rao

Qué piensa usted de esta modificación?

What do you think of this change?

viewtopic.php?f=6&t=27003#p149984

Es correcta y sería posible implementar también?

Correct? and also would be possible to implement?

Re: XBrowse y Grupo de Columnas

PostPosted: Fri Nov 01, 2013 11:10 am
by cnavarro
cnavarro wrote:Mr. Rao

Tiene usted pensado implementar esta opcion en las cabeceras de los grupos de columnas?

Have you thought of implementing this option in the header column groups?


- The names of groups always aligned in the center (AL_CENTER), how to come out AL_LEFT modify or AL_RIGHT?

nageswaragunupudi escribió:

This is not provided even in the current version.
You need to change xbrowse.prg or override paintheader() method of TXBrwColumn


Asi se ve el ejemplo con FW13.08 (XBrowse original)

So you see the example FW13.08 (Original xBrowse)

Image

y asi con la clase modificada:
- Alineacion a la izquierda de los nombres de grupos
- Pintar los nombres de grupos más abajo si no hay titulos de columnas

and so the modified class:
- Alignment to the left of the group names
- Paint group names below if no columns titles

Image



Crear una DATA en la clase TXBrwColumn, por ejemplo:
Creating a class in TXBrwColumn DATA, for example:

DATA nHGrpAlign INIT AL_CENTER


METHOD PaintHeader( nRow, nCol, nHeight, lInvert, hDC, nGrpWidth, aBitmap ) CLASS TXBrwColumn
---/...
Line 9728 ( En la version 13.08 ) nStyle := ::DefStyle( AL_CENTER, ! ( CRLF $ cHeader ) )
y cambiar por
and change by
nStyle := ::DefStyle( ::nHGrpAlign, ! ( CRLF $ cHeader ) )

Seria posible?
Would it be possible?

Re: XBrowse y Grupo de Columnas

PostPosted: Fri Nov 01, 2013 11:15 am
by nageswaragunupudi
Thanks for reminding.
We shall attend to this in the next release please.

Re: XBrowse y Grupo de Columnas

PostPosted: Fri Nov 01, 2013 11:28 am
by cnavarro
Muchas gracias
thank you very much

Re: XBrowse y Grupo de Columnas

PostPosted: Mon Jan 06, 2014 8:11 pm
by cnavarro
nageswaragunupudi wrote:Thanks for reminding.
We shall attend to this in the next release please.


+1

Re: XBrowse y Grupo de Columnas

PostPosted: Sun Oct 19, 2014 8:27 pm
by cnavarro
nageswaragunupudi wrote:Thanks for reminding.
We shall attend to this in the next release please.


++1