HFCL (Hmg Forum Component Library)

Source code related resources

Moderator: Rathinagiri

Post Reply
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

HFCL (Hmg Forum Component Library)

Post by Roberto Lopez »

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 609 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Incremental Search with Combo Box

Post by esgici »

Thanks a lot Maestro :D

Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Incremental Search with Combo Box

Post by esgici »

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: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Incremental Search with Combo Box

Post by Rathinagiri »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Incremental Search with Combo Box

Post by Roberto Lopez »

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: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Incremental Search with Combo Box

Post by Rathinagiri »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Incremental Search with Combo Box

Post by Roberto Lopez »

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: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Incremental Search with Combo Box

Post by esgici »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Incremental Search with Combo Box

Post by Roberto Lopez »

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 553 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Incremental Search with Combo Box

Post by esgici »

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