Page 1 of 1

Anomalie solved in 904 non reported in 905

Posted: Wed Jun 10, 2009 7:52 am
by Maurizio
Hello Antonio

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

http://forums.fivetechsupport.com/viewt ... ext#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

Re: Anomalie solved in 904 non reported in 905

Posted: Thu Jun 11, 2009 5:00 pm
by Antonio Linares
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 :-)

Re: Anomalie solved in 904 non reported in 905

Posted: Fri Jun 12, 2009 1:51 pm
by Adolfo
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

Re: Anomalie solved in 904 non reported in 905

Posted: Fri Jun 12, 2009 3:49 pm
by Antonio Linares
Adolfo,

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

Re: Anomalie solved in 904 non reported in 905

Posted: Fri Jun 12, 2009 4:31 pm
by Adolfo
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

Re: Anomalie solved in 904 non reported in 905

Posted: Fri Jun 12, 2009 6:45 pm
by Antonio Linares
Adolfo,

Yes, you are right. My mistake.

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