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.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 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 )