FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Alert no muestra el texto...
Posts: 383
Joined: Tue Oct 11, 2005 01:01 PM
Alert no muestra el texto...
Posted: Fri Dec 16, 2005 05:20 PM

Al alert no muestra el texto (cMsg), y por lo que veo no es un problema en alert.prg, porque es casi igual a la version 2.3
Hablo de la version 2.7 de Octubre o noviembre/2005.

Gracias.

Pedro Gonzalez
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Alert no muestra el texto...
Posted: Sat Dec 17, 2005 05:43 AM

Pedro,

El problema viene del uso de un GET en Alert() para mostrar el texto. Esto se ha corregido en parte en el build de Diciembre (con los cambios hechos en la clase TGet) pero aún hay que hacer más modificaciones porque el GET era editable y hemos optado por deshabilitarlo, y en 32 bits se ve gris... :)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 383
Joined: Tue Oct 11, 2005 01:01 PM
Alert no muestra el texto...
Posted: Mon Dec 19, 2005 10:28 AM

ok. Gracias Antonio, resuelto entonces con un say en vez de un get, hasta que aquí decidan hacer el update de FWH.

Pedro Gonzalez
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Alert no muestra el texto...
Posted: Mon Dec 19, 2005 04:33 PM

Pedro,

¿ Te importa mostrarnos como lo has modificado ? Gracias.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 383
Joined: Tue Oct 11, 2005 01:01 PM
Alert no muestra el texto...
Posted: Tue Dec 20, 2005 09:06 AM
Se que no es la mejor solución, pero para textos no tan largos, va bien. (que al fin y al cabo era lo que yo necesitaba.)
Muestro donde comenté tu codigo y el pequeño cambio que hice. (un GET por un SAY)

/*
DO CASE
CASE lHScroll .and. lVScroll
@ 25, 70 GET oGet VAR cSay OF oDlg READONLY MEMO;
SIZE nWidth, nHeight PIXEL FONT oFont ;
COLOR NIL, GetSysColor( COLOR_BTNFACE ) ;
NOBORDER HSCROLL
CASE lHScroll .and. !lVScroll
@ 25, 70 GET oGet VAR cSay OF oDlg READONLY MEMO;
SIZE nWidth, nHeight PIXEL FONT oFont ;
COLOR NIL, GetSysColor( COLOR_BTNFACE ) ;
NOBORDER HSCROLL NO VSCROLL
CASE !lHScroll .and. lVScroll
@ 25, 70 GET oGet VAR cSay OF oDlg READONLY MEMO;
SIZE nWidth, nHeight PIXEL FONT oFont ;
COLOR NIL, GetSysColor( COLOR_BTNFACE ) ;
NOBORDER
OTHERWISE

@ 25, 70 SAY oGet VAR cSay OF oDlg READONLY MEMO;
SIZE nWidth, nHeight PIXEL FONT oFont ;
COLOR NIL, GetSysColor( COLOR_BTNFACE ) ;
NOBORDER NO VSCROLL
*/
@ 25, 70 SAY oGet VAR cSay OF oDlg;
SIZE nWidth, nHeight PIXEL FONT oFont ;
COLOR NIL, GetSysColor( COLOR_BTNFACE ) // hecho a la carrera porque con GET no se veía. (está solucionado en el build de DIC/2005)

// END CASE


Saludos.
Pedro Gonzalez
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Alert no muestra el texto...
Posted: Tue Dec 20, 2005 10:25 AM

Pedro,

gracias.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion