FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour XBrowse y Grupo de Columnas
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: XBrowse y Grupo de Columnas
Posted: Thu Aug 29, 2013 07:55 PM
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



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 (fw): Select all Collapse
聽 聽oXBrw:aCols[ 2 ]:bPaintText = { | oCol, hDC, cText, aCoors, aColors, lHighlight | DrawImg( oXBrw, oCol, hDC, aBmps, aCoors, 4 ) }




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
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: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBrowse y Grupo de Columnas
Posted: Thu Aug 29, 2013 08:20 PM

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

Regards



G. N. Rao.

Hyderabad, India
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: XBrowse y Grupo de Columnas
Posted: Thu Aug 29, 2013 09:13 PM
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
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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: XBrowse y Grupo de Columnas
Posted: Mon Oct 07, 2013 07:12 PM
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)



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

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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: XBrowse y Grupo de Columnas
Posted: Mon Oct 07, 2013 07:24 PM

Mr. Rao

Qu茅 piensa usted de esta modificaci贸n?

What do you think of this change?

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

Es correcta y ser铆a posible implementar tambi茅n?

Correct? and also would be possible to implement?

&

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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: XBrowse y Grupo de Columnas
Posted: Fri Nov 01, 2013 11:10 AM
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)



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




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?
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: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBrowse y Grupo de Columnas
Posted: Fri Nov 01, 2013 11:15 AM

Thanks for reminding.
We shall attend to this in the next release please.

Regards



G. N. Rao.

Hyderabad, India
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: XBrowse y Grupo de Columnas
Posted: Fri Nov 01, 2013 11:28 AM

Muchas gracias
thank you very much

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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: XBrowse y Grupo de Columnas
Posted: Mon Jan 06, 2014 08:11 PM
nageswaragunupudi wrote:Thanks for reminding.
We shall attend to this in the next release please.


+1
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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: XBrowse y Grupo de Columnas
Posted: Sun Oct 19, 2014 08:27 PM
nageswaragunupudi wrote:Thanks for reminding.
We shall attend to this in the next release please.


++1
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

Continue the discussion