Page 1 of 11

HFCL (Hmg Forum Component Library)

Posted: Fri May 08, 2009 10:37 pm
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.

Re: Incremental Search with Combo Box

Posted: Fri May 08, 2009 11:10 pm
by esgici
Thanks a lot Maestro :D

Best Regards

--

Esgici

Re: Incremental Search with Combo Box

Posted: Fri May 08, 2009 11:58 pm
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

Re: Incremental Search with Combo Box

Posted: Sat May 09, 2009 3:45 am
by Rathinagiri
Very proud Roberto.

Thanks a lot for your valuable guidance.

Re: Incremental Search with Combo Box

Posted: Sat May 09, 2009 11:58 am
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.

Re: Incremental Search with Combo Box

Posted: Sat May 09, 2009 12:15 pm
by Rathinagiri
Yes. We can add that too.

Now, the autofill, given by Esgici would also be. :)

Re: Incremental Search with Combo Box

Posted: Sat May 09, 2009 1:33 pm
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.

Re: Incremental Search with Combo Box

Posted: Sat May 09, 2009 1:44 pm
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

Re: Incremental Search with Combo Box

Posted: Sat May 09, 2009 2:37 pm
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.

Re: Incremental Search with Combo Box

Posted: Sat May 09, 2009 2:52 pm
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