Jeffrey A. Wormsley
2004-01-23 21:38:17 UTC
I'd like to make a set of components that act like the Dataset and DB aware
controls. These would all be non-visual components. The idea is that
there is one "base component", one or more "next level" components that use
the base component all at the same time, and then one or more "top level"
components that can use one and only one "next level" components.
Something like this:
Base Component
|
/------------|-------------\
Next Level Next Level Next Level
| | |
Top Level Top Level Top Level
Think of it like this. The "base component" is a table, the "next level"
is a dataset, and thr "top level" is a DBEdit, only each DBEdit component
would have to have its own dataset to connect to the table, rather than
through a common one.
My question is, how would I go about implementing such a thing? Especially
with the requirement that the base component should fire events when
something happens to a top level component.
Or is this too confusing?
Jeff.
controls. These would all be non-visual components. The idea is that
there is one "base component", one or more "next level" components that use
the base component all at the same time, and then one or more "top level"
components that can use one and only one "next level" components.
Something like this:
Base Component
|
/------------|-------------\
Next Level Next Level Next Level
| | |
Top Level Top Level Top Level
Think of it like this. The "base component" is a table, the "next level"
is a dataset, and thr "top level" is a DBEdit, only each DBEdit component
would have to have its own dataset to connect to the table, rather than
through a common one.
My question is, how would I go about implementing such a thing? Especially
with the requirement that the base component should fire events when
something happens to a top level component.
Or is this too confusing?
Jeff.