HFCL (Hmg Forum Component Library)

Source code related resources

Moderator: Rathinagiri

Post Reply
User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Re: HFCL (Hmg Forum Component Library)

Post by Rathinagiri » Thu May 14, 2009 1:22 pm

For me it is working.

I will capture and upload a video showing the process.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Thu May 14, 2009 1:58 pm

Here you can download and see the video. (8 MB)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Post by fchirico » Thu May 14, 2009 4:10 pm

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
Saludos, Fernando Chirico.

User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Post by fchirico » Thu May 14, 2009 6:57 pm

rathinagiri wrote:Here you can download and see the video. (8 MB)
Thank you!
Recompile the library again and it worked.

Saludos, Fernando Chirico.
Saludos, Fernando Chirico.

User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Sat May 16, 2009 8:32 am

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
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Sat May 16, 2009 9:16 am

Yes. Along with this I had found out some other bugs too.

I am fixing them altogether.

Thanks for reporting Esgici.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Sat May 16, 2009 12:59 pm

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)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Sat May 16, 2009 1:23 pm

rathinagiri wrote:Here is a new version of HFCL (0.91 2009-05-16)
Thanks a lot Rathi.

I'll try it.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D

User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Sat May 16, 2009 2:06 pm

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
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Sat May 16, 2009 2:46 pm

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. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply