FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour PROBLEMAS CON LA FWH 16.02
Posts: 182
Joined: Wed Nov 08, 2006 11:44 PM

PROBLEMAS CON LA FWH 16.02

Posted: Wed Mar 02, 2016 02:45 PM

Hola Antonio.
Hice el upgrade a fwh 16.02 y me he encontrado con varios problemas, algunos mas leves otros mas serios que te paso a detallar:
Al principio me daba errores de compilacion que eran porque no tenia la gdiplus.lib en el borland. La agregue y aparentemente eso se soluciono.
Pregunta es imprescindible el BCC7 para la fwh 16.02 o puedo seguir con el 5.5 agregando la gdi ?
Ahora lo peor, intente compilar una aplicacion que estoy desarrollando con fwh 10.1 que hasta aqui me andaba perfectamente y me empezaron a ocurrir cosas raras que no logro entender.
El xBrowse me cuelga el sistema ni bien lo llamo, los buttonsbmp no toman la clausula TEXTRIGHT y ponen los bmp sobre el prompt del boton,
la MsgBar me dio error de entrada y la tuve que suprimir hasta ver que pasa, los tooltip tipo balloon siguen sin aparecer etc.etc.
Pregunto, to esto esta probado y estable y sere yo el que comete errores ?
Entiendo que un upgrade no deberia inutilizar cosas probadas y funcionando y si agregar mejoras y novedades.
En fin, quisiera saber como sigo, sera que el borland 5.7 es imprescindible o ha habido cambios que han echo incompatible la 10.1 con la 16.02 ?
Espero tu respuesta para ver que hago para poder seguir el desarrollo que tengo por la mitad.

Muchas gracias

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Wed Mar 02, 2016 02:54 PM

Raul,

Tienes que usar bcc 7. Te he enviado un email con indicaciones de c贸mo descargarlo desde Embarcadero.

Se prueban muchas aplicaciones antes de publicar una nueva versi贸n pero siempre es posible
que se haya colado alg煤n error. Te pido disculpas por las molestias que puedan estar caus谩ndote
y te aseguro que nos ponemos de inmediato a trabajar para solucionarlos.

Puedes mostrar unas im谩genes de c贸mo se ve铆a antes y como se ve ahora ? gracias

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Wed Mar 02, 2016 03:50 PM
Si te parece podemos ir viendo tema a tema y seguro que entre todos encontramos una solucion
Aqui tienes un ejemplo de TEXTRIGHT

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: PROBLEMAS CON LA FWH 16.02

Posted: Wed Mar 02, 2016 05:59 PM
Welcome to FWH 16.02

I suggest we shall go one topic by another. First let us see if there is a problem with BUTTOMBMP. Oldest version I have with me is 10.06. So let me compare 10.06 and 16.02.
Please test this program on 10.01 and 16.02. I tested with 10.06 and 16.02.
Code (fw): Select all Collapse
#include "fivewin.ch"

function main()

聽 聽local oDlg

聽 聽DEFINE DIALOG oDlg SIZE 220,320 PIXEL TITLE FWVERSION

聽 聽@ 10,20 BUTTONBMP PROMPT "TextRight" BITMAP "..\bitmaps\open.bmp" TEXTRIGHT SIZE 80,20 PIXEL OF oDlg

聽 聽@ 40,20 BUTTONBMP PROMPT "TextLeft" 聽BITMAP "..\bitmaps\open.bmp" TEXTLEFT 聽SIZE 80,20 PIXEL OF oDlg

聽 聽@ 70,10 BUTTONBMP PROMPT "TextBottom" 聽BITMAP "..\bitmaps\open.bmp" TEXTBOTTOM 聽SIZE 40,50 PIXEL OF oDlg

聽 聽@ 70,60 BUTTONBMP PROMPT "TextTop" 聽BITMAP "..\bitmaps\open.bmp" TEXTTOP 聽SIZE 40,50 PIXEL OF oDlg

聽 聽@ 130,20 BUTTON "Normal Button" SIZE 80,20 PIXEL OF oDlg

聽 聽ACTIVATE DIALOG oDlg CENTERED

return nil

Results:



Results are the same in both versions and there is no change.

We shall help you with all other issues also one by one. We are here to support you in your migration to 16.02.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Wed Mar 02, 2016 06:28 PM
Balloon tooltips and message bar
Test code:
Code (fw): Select all Collapse
#include "fivewin.ch"

function main()

   local oWnd, oBar

   SetBalloon( .t. )

   DEFINE WINDOW oWnd  TITLE FWVERSION
   DEFINE BUTTONBAR oBar OF oWnd _3D

   SET MESSAGE OF oWnd TO FWVERSION CLOCK KEYBOARD
   DEFINE BUTTON OF oBar FILE "..\bitmaps\open2.bmp" NOBORDER TOOLTIP "This is a tooltip"


   ACTIVATE WINDOW oWnd

return nil





Even in this case both 1006 and 1602 are working the same way
Regards



G. N. Rao.

Hyderabad, India
Posts: 182
Joined: Wed Nov 08, 2006 11:44 PM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Thu Mar 03, 2016 01:04 PM
Hola
Detalle de los errores con Buttonbmp

1)
REDEFINE BUTTONBMP BITMAP 'b_accept' PROMPT 'Grabar ' TEXTRIGHT ID 4031 OF oDlg ACTION sound() Anda bien si defino el prompt
REDEFINE BUTTONBMP BITMAP 'b_xcancel' ID 4032 OF oDlg ACTION oDlg:end() TEXTRIGHT anda mal si no defino el prompt. Toma el prompt que trae desde el resource e ignora el TEXTRIGHT Sobreescribe el bmp



Que el TEXTRIGHT funcione respetando los prompt de los botones es importante porque evita tener que escribir todo de nuevo.
en la FWH 10.1 funciona bien.

2) Si el Resource no incluye #ifdef __FLAT__ 1 24 'WindowsXP.Manifes' #endif
Desaparecen los prompts de los buttonbmp


3) Si el Resource no incluye #ifdef __FLAT__ 1 24 'WindowsXP.Manifes' #endif
Desaparecen tos tooltips tipo balloon

Saludos
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Thu Mar 03, 2016 02:59 PM

Thanks.
We shall attend to your remark

Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Thu Mar 03, 2016 04:15 PM
I can not see your images. But I understood the issue.

Que el TEXTRIGHT funcione respetando los prompt de los botones es importante porque evita tener que escribir todo de nuevo.
en la FWH 10.1 funciona bien.


Fixed and available in next release of FWH.

Till then you may please make this modification in fwh\classes\buttonb.prg
Line:162
Code (fw): Select all Collapse
      if ! Empty( ::cCaption ) .and. ! Empty( ::cPosText )

Please change this as:
Code (fw): Select all Collapse
      if ! Empty( ::cPosText )
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Thu Mar 03, 2016 04:18 PM
3) Si el Resource no incluye #ifdef __FLAT__ 1 24 'WindowsXP.Manifes' #endif
Desaparecen tos tooltips tipo balloon


Please include this statement
Code (fw): Select all Collapse
   SetBalloon( .t. )

at the beginning of function Main()

Does this solve the issue?
Regards



G. N. Rao.

Hyderabad, India
Posts: 182
Joined: Wed Nov 08, 2006 11:44 PM

Re: FWH 16.02 PROBLEMAS CON BUTTONBMP RESUELTO

Posted: Fri Mar 04, 2016 08:42 AM

Modifique la clase buttonb.prg y se arreglo el problema con los prompts de los botones desde resources
Gracias

Posts: 182
Joined: Wed Nov 08, 2006 11:44 PM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Fri Mar 04, 2016 09:24 AM
Hola
Con respecto a los tooltips tipo balloon esta todo bien escrito
SetBalloon(.t.) al inicio
si esta el WindowsXP.Manifest en el resource los tooltips DESAPARECEN
Ahora bien, probe el mismo ejecutable en otras PC con Windows 7 y me encuentro con que en algunas SE VEN LOS TOOLTIPS y en otras NO ??????????
Sera algun seteo interno de Windows 7 ?

saludos
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Fri Mar 04, 2016 10:00 AM

I now use Windows 10. I always use Balloon tooltips.
From Windows 7 till now balloon tooltips worked for me with applications themed and non-themed

Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: PROBLEMAS CON LA FWH 16.02

Posted: Fri Mar 04, 2016 12:26 PM

Raul,

Es la misma versi贸n de Windows 7 ?

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion