error with fget

error with fget

Postby Detlef Hoefner » Fri Jun 27, 2008 8:32 am

Antonio,

i tried to use the fget object.
When building the testfget.exe from the fwh samples you get an error when clicking 'information' from the format menu.

It looks like a typo :
Code: Select all  Expand view
tobject.prg => TFLINE:NALING(0)

I think it should be TFLINE:NALIGN().

Regards,
Detlef
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany

Postby Detlef Hoefner » Sun Jun 29, 2008 12:04 pm

Antonio,

could you please, have a look to this issue?
Since the function doesn't belog to the provided source code of FWH i can't do this patch myself.

Thanks and regards,
Detlef
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany

Postby nageswaragunupudi » Sun Jun 29, 2008 1:36 pm

We may make the corrections in the testfget.prg in our samples folder. Mr Antonio may fix the error in the next release.

The typo is only in the sample program, not in the libraries.

After you pointed out, I made these corrections in the testfget.prg

Line:217
local aAlign := { "LEFT", "CENTERED", "RIGHT" }

Line: 225
"Align: " + aAlign[ oLine:nAlign + 1 ] + CRLF +;

Now the sample works fine with this.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Detlef Hoefner » Sun Jun 29, 2008 2:29 pm

NageswaraRao,

yes, you are right. This sample works ok now.
Thanks for pointing me out that.

Moreover, the same patch is needed in the sample testfge2.prg.
( replace all 'aling' with 'align' )

Thanks and regards,
Detlef
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests