Page 6 of 11

Re: HFCL (Hmg Forum Component Library)

Posted: Thu May 14, 2009 1:22 pm
by Rathinagiri
For me it is working.

I will capture and upload a video showing the process.

Re: HFCL (Hmg Forum Component Library)

Posted: Thu May 14, 2009 1:58 pm
by Rathinagiri
Here you can download and see the video. (8 MB)

Re: HFCL (Hmg Forum Component Library)

Posted: Thu May 14, 2009 4:10 pm
by fchirico
rathinagiri wrote:Here you can download and see the video. (8 MB)

Thanks for the video!
Which tool did you do that?
I See you in the .PRG that may be.

Thank you very much, Fernando Chirico

Re: HFCL (Hmg Forum Component Library)

Posted: Thu May 14, 2009 6:57 pm
by fchirico
rathinagiri wrote:Here you can download and see the video. (8 MB)
Thank you!
Recompile the library again and it worked.

Saludos, Fernando Chirico.

Re: HFCL (Hmg Forum Component Library)

Posted: Sat May 16, 2009 8:32 am
by esgici
Hi Rathi

Some considerations on GridPrint:

- Invoking GridPrint by semi-oop notation :

<WindowName>.<ControlName>.Print[()]

does not work. IMO requried some UCI information is missing in the doc.

- HEADERS, MERGEHEADERS, COLUMNSUM are optional regarding command syntax, in reality not.

- SHOWWINDOW :

The expression

[ <showwindow : SHOWWINDOW> ]

in the command syntax isn't recognizable.

.F. : SHOWWINDOW,
.T. : SHOWWINDOW,
SHOWWINDOW .T.,
SHOWWINDOW .F.

are invalid; if SHOWWINDOW keyword specified, assuming .T. else .F.

When it's .F. for running GridPrint in "quiet" way, invoking GridPrint twice is causing RTE :

Window: printgrid already defined. Program Terminated.

- I'm afraid that the "multi-language" feature is abandoned. It was a useful feature and someones particapated it by translation.

Regards

--

Esgici

Re: HFCL (Hmg Forum Component Library)

Posted: Sat May 16, 2009 9:16 am
by Rathinagiri
Yes. Along with this I had found out some other bugs too.

I am fixing them altogether.

Thanks for reporting Esgici.

Re: HFCL (Hmg Forum Component Library)

Posted: Sat May 16, 2009 12:59 pm
by Rathinagiri
Here is a new version of HFCL (0.91 2009-05-16)

Change Log:

1. Grid2Print:
- Fixed some bugs.
- Changed Method of approach in 'reports.cfg' (Please delete old report.cfg files). Now it is consistent. Previously one array of all the values had been used to save in an ini file. This would make a problem for a grid having many number of columns since the maximum length of a string is 1023 chars.
- Updated multi-language support as reminded by Esgici. (Others please contribute with language translations)
- Fixed: Semi-oop calling, now you have to pass aHeaders as a parameter. (To make this work, you have to copy the supplied i_UsrSOOP.ch to c:\hmg\include)

Re: HFCL (Hmg Forum Component Library)

Posted: Sat May 16, 2009 1:23 pm
by esgici
rathinagiri wrote:Here is a new version of HFCL (0.91 2009-05-16)
Thanks a lot Rathi.

I'll try it.

Regards

--

Esgici

Re: HFCL (Hmg Forum Component Library)

Posted: Sat May 16, 2009 2:06 pm
by esgici
rathinagiri wrote:Here is a new version of HFCL (0.91 2009-05-16)
Tried.

Language support OK, thanks.

<WindowName>.<ControlName>.Print(<aHeaders>) : No reaction ( GridPrint don't run )

Q1: Why <aHeaders> isn't optional, in command form it's.
Q2: What about other parameters in semi-oop form ?

PRINT GRID <GridName> OF <ParentName> (Without SHOWWINDOW ) :First run OK, second no. (printgrid already defined. Program Terminated)


Regards

--

Esgici

Re: HFCL (Hmg Forum Component Library)

Posted: Sat May 16, 2009 2:46 pm
by Rathinagiri
Hi, I had now solved the showwindow problem. I don't know why the window is shown in the background even after using noshow.

Regarding, Semi OOP, I will do some changes and post here. :)