Anomalie solved in 904 non reported in 905

Post Reply
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Anomalie solved in 904 non reported in 905

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Anomalie solved in 904 non reported in 905

Post 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 :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Adolfo
Posts: 815
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile
Contact:

Re: Anomalie solved in 904 non reported in 905

Post 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
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Lenovo Legion Y520, 16GB Ram, 1 TB NVME M.2, 1 TB SSD, GTX 1050
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Anomalie solved in 904 non reported in 905

Post by Antonio Linares »

Adolfo,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Adolfo
Posts: 815
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile
Contact:

Re: Anomalie solved in 904 non reported in 905

Post 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
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Lenovo Legion Y520, 16GB Ram, 1 TB NVME M.2, 1 TB SSD, GTX 1050
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Anomalie solved in 904 non reported in 905

Post by Antonio Linares »

Adolfo,

Yes, you are right. My mistake.

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

Antonio Linares
www.fivetechsoft.com
Post Reply