FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos Anomalie solved in 904 non reported in 905
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Anomalie solved in 904 non reported in 905
Posted: Wed Jun 10, 2009 07:52 AM

Hello Antonio

the are some bug solved in 904 in class say.prg e windows.prg

viewtopic.php?f=18t=15416p=80339hilit=SetWindowText#p80339

Regards Maurizio

//-------------------------------------------------
TSAY.PRG
Please make this change In Class TSay Method Initiate:
...
if ::cCaption != nil // don't use Empty() here or blank texts will not show
// ::SetText( ::cCaption ) previous code
SetWindowText( ::hWnd, cText ) // new
else
::cCaption = ::GetText()
endif
...
//-----------------------------------------------
WINDOWS.PRG

Instead of:

SetWindowText( ::hWnd, cText ) // new

it should be:

SetWindowText( ::hWnd, ::cCaption ) // new

&&&

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Anomalie solved in 904 non reported in 905
Posted: Thu Jun 11, 2009 05:00 PM

Maurizio,

That change is only needed for Class TSay. It does not seem as we have to modify window.prg

We will publish a new FWH 9.05 build with this change in the next minutes, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 883
Joined: Tue Oct 11, 2005 11:57 AM
Re: Anomalie solved in 904 non reported in 905
Posted: Fri Jun 12, 2009 01:51 PM

I can confirm the error in 9.05

If I change

SetWindowText( ::hWnd, cText )

for....

SetWindowText( ::hWnd, ::cCaption )

in say.prg the error dissapeared.

From Chile
Adolfo

;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Anomalie solved in 904 non reported in 905
Posted: Fri Jun 12, 2009 03:49 PM

Adolfo,

If you download 9.05 again, then you get it fixed :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 883
Joined: Tue Oct 11, 2005 11:57 AM
Re: Anomalie solved in 904 non reported in 905
Posted: Fri Jun 12, 2009 04:31 PM

Antonio..

I just downloaded it but, the error is still present.

Say.prg has not been changed.

Meanwhile I'll use my modified one.

From Chile
Adolfo

;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Anomalie solved in 904 non reported in 905
Posted: Fri Jun 12, 2009 06:45 PM

Adolfo,

Yes, you are right. My mistake.

A modified build will be available in some minutes, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion