Anomalie solved in 904 non reported in 905

Anomalie solved in 904 non reported in 905

Postby Maurizio » Wed Jun 10, 2009 7:52 am

Hello Antonio

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

viewtopic.php?f=18&t=15416&p=80339&hilit=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
User avatar
Maurizio
 
Posts: 796
Joined: Mon Oct 10, 2005 1:29 pm

Re: Anomalie solved in 904 non reported in 905

Postby Antonio Linares » Thu Jun 11, 2009 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Anomalie solved in 904 non reported in 905

Postby Adolfo » Fri Jun 12, 2009 1: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, 1 TB NVME M.2, 1 TB SSD, GTX 1650
User avatar
Adolfo
 
Posts: 846
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile

Re: Anomalie solved in 904 non reported in 905

Postby Antonio Linares » Fri Jun 12, 2009 3:49 pm

Adolfo,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Anomalie solved in 904 non reported in 905

Postby Adolfo » Fri Jun 12, 2009 4: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, 1 TB NVME M.2, 1 TB SSD, GTX 1650
User avatar
Adolfo
 
Posts: 846
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile

Re: Anomalie solved in 904 non reported in 905

Postby Antonio Linares » Fri Jun 12, 2009 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to Bugs report & fixes / Informe de errores y arreglos

Who is online

Users browsing this forum: No registered users and 3 guests