Re: Manipulate objects by reference
I'm afraid I am not able to envisage your GUI from your description.
I appears that you have many components of different sorts which will
all use the same datasource, displaying different elements of one
record, as the display steps through the query result it displays each
record in the result - is that correct.
Or do you have a bunch of DB compnents which can be allocated to a
number of different data sources dependant on the exact construction of
Are your DB components placed at design-time, or are you creating and
displaying them dependant on the elements of the query.
At initial look it would seem that arrays of the display components
would be one option, an array for each type of display component.
Incidentally if you are only displaying the data and not editing the
data why use a TDBEdit. Wouldn't some sort of grid display be better.
I would need some more information on what exactly you are doing before
I could give any useful comment <g>
There are many techniques for getting a reference to a component, and
also for getting the type of a component. .
- Prev by Date: Re: Problems appending EMF files
- Next by Date: Re: Delphi 5 license wanted
- Previous by thread: Re: Manipulate objects by reference
- Next by thread: Re: Manipulate objects by reference