HFCL (Hmg Forum Component Library)

Source code related resources

Moderator: Rathinagiri

Post Reply
User avatar
Roberto Lopez
HMG Founder
Posts: 3889
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 126 times

HFCL (Hmg Forum Component Library)

Post by Roberto Lopez » Fri May 08, 2009 10:37 pm

Roberto Lopez wrote: When it be ready I could adapt to work as an user component. This could serve to teach about how to do that in more complex situations, so in the future the group itself could do it.
I've reviewed and tested your code and I've noted that there is no need to convert to 'User Components Interface' since UCI was designed to fully new controls and 'ComboSearchBox' creates a high level TextBox with its name, inheriting all TextBox properties, events and methods. So you only need an include file for command definitions.

I've only added a little of 'organization' to code (considering it as a part in a component library):

HFCL (Hmg Forum Component Library)

- hfcl.ch (HFCL main include file)
- hfcl.prg (HFCL main procedure file)
- combosearchbox.prg (ComboSearchBox procedure file)
- combosearchbox.ch (ComboSearchBox include file file)

This structure will make easy the test and development process.

We could add later a makefile to build a the library (hfcl.a) to our projects and UCI file for IDE users.

This is only a proposal, please let me know what do you think about that.

And remember... this is YOUR project, please continue working on it! (I have lot of problems already :) )

Regards :)

Roberto.
Attachments
combosearchbox.rar
(4.66 KiB) Downloaded 231 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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

Post by esgici » Fri May 08, 2009 11:10 pm

Thanks a lot Maestro :D

Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D

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

Post by esgici » Fri May 08, 2009 11:58 pm

Hi Maestro

Many thanks to your 'organization'; certainly we need this.

HFCL (Hmg Forum Component Library) structure is a very good concept. IMHO this is very important step for our Forum Component ( or Contrib ) library. I hope by the time it will be very useful source for our friends.
We could add later a makefile to build a the library (hfcl.a) to our projects and UCI file for IDE users.
This is another good news.
This is only a proposal, please let me know what do you think about that.
As always your proposals are the best alternative :)
And remember... this is YOUR project, please continue working on it! (I have lot of problems already :) )
IMHO for continuing to work we need hearing some opinions by members.

In other hand, inheriting ALL from text box may not be problem at all. If user set a value to CSBox in definition, this value goes directly to text box. Since our users not real user, all of them are programmers, so they know what they are made :)


With best regards :)

--

Esgici
Viva INTERNATIONAL HMG :D

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

Post by Rathinagiri » Sat May 09, 2009 3:45 am

Very proud Roberto.

Thanks a lot for your valuable guidance.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3889
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 126 times

Post by Roberto Lopez » Sat May 09, 2009 11:58 am

rathinagiri wrote:Very proud Roberto.

Thanks a lot for your valuable guidance.
By the way... I guess that Grid2Print could be a good candidate for HFCL (if you agree, of course).

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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

Post by Rathinagiri » Sat May 09, 2009 12:15 pm

Yes. We can add that too.

Now, the autofill, given by Esgici would also be. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3889
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 126 times

Post by Roberto Lopez » Sat May 09, 2009 1:33 pm

rathinagiri wrote:Yes. We can add that too.

Now, the autofill, given by Esgici would also be. :)
I don't reviewed that, since I don't read all threads.

Could be a good idea if all 'candidates' were linked here or in a new forum area dedicated to the library.

What do you think?

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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

Post by esgici » Sat May 09, 2009 1:44 pm

Hi Maestro
Roberto Lopez wrote: Could be a good idea if all 'candidates' were linked here or in a new forum area dedicated to the library.
Yes, this is a good idea; but doesn't will be difficult to deciding or selecting candidates, especially by author himself ?

Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D

User avatar
Roberto Lopez
HMG Founder
Posts: 3889
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 126 times

Post by Roberto Lopez » Sat May 09, 2009 2:37 pm

esgici wrote:Hi Maestro
Roberto Lopez wrote: Could be a good idea if all 'candidates' were linked here or in a new forum area dedicated to the library.
Yes, this is a good idea; but doesn't will be difficult to deciding or selecting candidates, especially by author himself ?

Best Regards

--

Esgici
At first, I've modified a little AutoFill. It needs only ONE parameter now (the list array) to make it easy to use (is attached to this message).

Regarding the decision, it could be reached by 'consensus' based on opinions of people involved.

I hope that all we here, agree in terms of code quality, reliability, backwards compatibility, style and consistency with the rest on MiniGUI library.

Regards,

Roberto.
Attachments
autofill2.rar
(2.24 KiB) Downloaded 166 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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

Post by esgici » Sat May 09, 2009 2:52 pm

Hi Maestro
Roberto Lopez wrote: At first, I've modified a little AutoFill. It needs only ONE parameter now (the list array) to make it easy to use.
Many thanks for your interest my humble work :)
Regarding the decision, it could be reached by 'consensus' based on opinions of people involved.
You are right as always :)
I hope that all we here, agree in terms of code quality, reliability, backwards compatibility, style and consistency with the rest on MiniGUI library.
No doubt :)

Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D

Post Reply