FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Problema con BMP's en Ver 15.01
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
Problema con BMP's en Ver 15.01
Posted: Tue Jan 20, 2015 02:57 PM
Tengo este problema al compilar mi aplicaci贸n con FWH 15.01

Asi se ve la barra de botones si compilo con fwh 14.12

https://app.box.com/s/l60vk1879as6gg3005ecgxu6fuvbohvw

y as铆 si lo hago con 15.12

https://app.box.com/s/83z455zzfh3ewelx4s9pzum25nmaaha1


Este es un ejemplo de una aplicaci贸n autocontenida que muestra la falla.

Aqu铆 se ve la falla
https://app.box.com/s/9fb37242bx518j51845khowpwb5szsy1

Aqu铆 el C贸digo de la aplicaci贸n:
Code (fw): Select all Collapse
#include 'FiveWin.ch'

FUNCTION Main()
聽 聽 LOCAL oWnd
聽 聽 
聽 聽 DEFINE WINDOW oWnd FROM 0, 0 TO 30, 80 TITLE "Prueba de falla"
聽 聽 聽 聽 聽 聽 Barrabot( oWnd )
聽 聽 ACTIVATE WINDOW oWnd MAXIMIZED
RETURN NIL
//----------------------------------------------------------------------------//
FUNCTION Barrabot(oWnd)
聽 聽 LOCAL oBar, oBtn:=Array(3)
聽 聽 
聽 聽 DEFINE BUTTONBAR oBar SIZE 50, 53 TOP OF oWnd 2013
聽 聽 聽 聽 DEFINE BUTTON oBtn[1] OF oBar FILE ".\RES\bitmap3.bmp" 聽ACTION nil
聽 聽 聽 聽 DEFINE BUTTON oBtn[2] OF oBar FILE ".\RES\bitmap15.bmp" 聽ACTION nil
聽 聽 聽 聽 DEFINE BUTTON oBtn[3] OF oBar FILE ".\RES\bitmap1.bmp" 聽GROUP ACTION oWnd:End()
RETURN NIL
//----------------------------------------------------------------------------//


Aqu铆 el ejecutable, prg y los bitmaps:

https://app.box.com/s/9drdlg9pjsgwi66e2gl1w9b79pqcyig1

Con la versi贸n 14.12 los bmps se pintan perfectamente, con la 15.01 el 2do bmp se pinta mal.

Agradezco cualquier ayuda que me puedan brindar.
Saludos/Regards,

Jos茅 Murugosa

"Los errores en programaci贸n, siempre est谩n entre la silla, el teclado y la IA!!"
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Problema con BMP's en Ver 15.01
Posted: Wed Jan 21, 2015 04:51 AM

Thanks for pointing out the problem and providing the files.
We are examining on top priority and get back to you.

Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Problema con BMP's en Ver 15.01
Posted: Wed Jan 21, 2015 05:24 AM
Can you please make this change in "btnbmp.prg" ?

Present line 1141:
Code (fw): Select all Collapse
 聽 聽 聽 聽 聽 聽 聽 if Empty( ::hPal )


Please change the line as:
Code (fw): Select all Collapse
 聽 聽 聽 聽 聽 聽 聽 if .t.


Please link the modified btnbmp.prg in your application and let us know if the painting of all buttons in your application is okay.
Regards



G. N. Rao.

Hyderabad, India
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
Re: Problema con BMP's en Ver 15.01
Posted: Wed Jan 21, 2015 08:42 AM

Thanks for this excelent support Mr. Rao.

I made the changes and now it works perfectly. :D


Gracias por el excelente soporte Sr. Rao

He hecho los cambios y ahora funciona perfectamente. :D

Saludos/Regards,

Jos茅 Murugosa

"Los errores en programaci贸n, siempre est谩n entre la silla, el teclado y la IA!!"

Continue the discussion