XBrowse y Grupo de Columnas

Re: XBrowse y Grupo de Columnas

Postby cnavarro » Thu Aug 29, 2013 7: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

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
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
User avatar
cnavarro
 
Posts: 6515
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: XBrowse y Grupo de Columnas

Postby nageswaragunupudi » Thu Aug 29, 2013 8:20 pm

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10347
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XBrowse y Grupo de Columnas

Postby cnavarro » Thu Aug 29, 2013 9: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
User avatar
cnavarro
 
Posts: 6515
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: XBrowse y Grupo de Columnas

Postby cnavarro » Mon Oct 07, 2013 7: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)

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
Last edited by cnavarro on Mon Oct 07, 2013 7:32 pm, edited 1 time in total.
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
User avatar
cnavarro
 
Posts: 6515
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: XBrowse y Grupo de Columnas

Postby cnavarro » Mon Oct 07, 2013 7:24 pm

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?
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
User avatar
cnavarro
 
Posts: 6515
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: XBrowse y Grupo de Columnas

Postby cnavarro » 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)

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?
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
User avatar
cnavarro
 
Posts: 6515
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: XBrowse y Grupo de Columnas

Postby nageswaragunupudi » 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
User avatar
nageswaragunupudi
 
Posts: 10347
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XBrowse y Grupo de Columnas

Postby cnavarro » 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
User avatar
cnavarro
 
Posts: 6515
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: XBrowse y Grupo de Columnas

Postby cnavarro » Mon Jan 06, 2014 8: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
User avatar
cnavarro
 
Posts: 6515
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: XBrowse y Grupo de Columnas

Postby cnavarro » Sun Oct 19, 2014 8: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
User avatar
cnavarro
 
Posts: 6515
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Previous

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 131 guests