bug rpreview.prg FWH 14.12

Post Reply
MOISES
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

bug rpreview.prg FWH 14.12

Post by MOISES »

Hola Antonio,

En el preview, pinchamos en el botón de dos páginas.

Luego, doble click en la vista.

El TreeView no acaba de ocultarse bien:

Image

Muchas gracias.
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
User avatar
Antonio Linares
Site Admin
Posts: 42832
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 156 times
Been thanked: 121 times
Contact:

Re: bug rpreview.prg FWH 14.12

Post by Antonio Linares »

Moises,

Visto el bug. Vamos a arreglarlo cuanto antes, gracias! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42832
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 156 times
Been thanked: 121 times
Contact:

Re: bug rpreview.prg FWH 14.12

Post by Antonio Linares »

Moises,

En source\classes\rpreview.prg tienes que añadir estas líneas:

línea 477:

Code: Select all | Expand

  ::oMeta1:blDblClick := { | nRow, nCol, nKeyFlags | ;
                            ::SetOrg1( nCol, nRow, nKeyFlags ),;
                            If( ::lZoom, ::oLvw:Hide(), ::oLvw:Show() ) }  // nuevo!
 


línea 490:

Code: Select all | Expand

  ::oMeta2:blDblClick := { | nRow, nCol, nKeyFlags | ;
                            ::SetOrg2( nCol, nRow, nKeyFlags ),;
                            If( ::lZoom, ::oLvw:Hide(), ::oLvw:Show() ) } // nuevo!
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
Verhoven
Posts: 530
Joined: Sun Oct 09, 2005 7:23 pm
Been thanked: 3 times

Re: bug rpreview.prg FWH 14.12

Post by Verhoven »

Una matización Antonio, me parece que más que añadir lo que quieres decir es sustituir las líneas existentes por estás nuevas que pones.

¿Además hay que reconstruir alguna librería con el obj que se obtiene?
User avatar
Antonio Linares
Site Admin
Posts: 42832
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 156 times
Been thanked: 121 times
Contact:

Re: bug rpreview.prg FWH 14.12

Post by Antonio Linares »

Paz,

Esas líneas ya estaban, ahora lo que hay que añadirle es:

If( ::lZoom, ::oLvw:Hide(), ::oLvw:Show() )

Lo más sencillo hasta que publiquemos un nuevo build de FWH es añadir el fichero rpreview.prg como si fuese un PRG más de vuestra aplicación.

rpreview.obj tiene que ser reemplazado en FiveH.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply