PROBLEMAS CON LA FWH 16.02
PROBLEMAS CON LA FWH 16.02
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
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
- Antonio Linares
- Site Admin
- Posts: 42513
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: PROBLEMAS CON LA FWH 16.02
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
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
Re: PROBLEMAS CON LA FWH 16.02
Si te parece podemos ir viendo tema a tema y seguro que entre todos encontramos una solucion
Aqui tienes un ejemplo de TEXTRIGHT
![Image](http://s24.postimg.org/qxvdn1891/0014.png)
Aqui tienes un ejemplo de TEXTRIGHT
![Image](http://s24.postimg.org/qxvdn1891/0014.png)
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
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
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: PROBLEMAS CON LA FWH 16.02
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.
Results:
![Image](http://imagizer.imageshack.us/v2/xq90/924/TtUPa2.png)
![Image](http://imagizer.imageshack.us/v2/xq90/922/FeWH32.png)
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.
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: Select all | Expand
#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:
![Image](http://imagizer.imageshack.us/v2/xq90/924/TtUPa2.png)
![Image](http://imagizer.imageshack.us/v2/xq90/922/FeWH32.png)
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
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: PROBLEMAS CON LA FWH 16.02
Balloon tooltips and message bar
Test code:
![Image](http://imagizer.imageshack.us/v2/xq90/922/vXyi9d.png)
![Image](http://imagizer.imageshack.us/v2/xq90/922/nv4Eq8.png)
Even in this case both 1006 and 1602 are working the same way
Test code:
Code: Select all | Expand
#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
![Image](http://imagizer.imageshack.us/v2/xq90/922/vXyi9d.png)
![Image](http://imagizer.imageshack.us/v2/xq90/922/nv4Eq8.png)
Even in this case both 1006 and 1602 are working the same way
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: PROBLEMAS CON LA FWH 16.02
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
![Image](https://drive.google.com/open?id=0B4AMUO3HA77nMTM4ZmMwd1Fhd0E)
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
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
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: PROBLEMAS CON LA FWH 16.02
Thanks.
We shall attend to your remark
We shall attend to your remark
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: PROBLEMAS CON LA FWH 16.02
I can not see your images. But I understood the issue.
Fixed and available in next release of FWH.
Till then you may please make this modification in fwh\classes\buttonb.prg
Line:162
Please change this as:
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: Select all | Expand
if ! Empty( ::cCaption ) .and. ! Empty( ::cPosText )
Please change this as:
Code: Select all | Expand
if ! Empty( ::cPosText )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: PROBLEMAS CON LA FWH 16.02
3) Si el Resource no incluye #ifdef __FLAT__ 1 24 'WindowsXP.Manifes' #endif
Desaparecen tos tooltips tipo balloon
Please include this statement
Code: Select all | Expand
SetBalloon( .t. )
at the beginning of function Main()
Does this solve the issue?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: FWH 16.02 PROBLEMAS CON BUTTONBMP RESUELTO
Modifique la clase buttonb.prg y se arreglo el problema con los prompts de los botones desde resources
Gracias
Gracias
Re: PROBLEMAS CON LA FWH 16.02
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
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
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: PROBLEMAS CON LA FWH 16.02
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
From Windows 7 till now balloon tooltips worked for me with applications themed and non-themed
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Antonio Linares
- Site Admin
- Posts: 42513
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact: