Subject | Dataset.create code |
---|---|
Author | bruce_haskell |
Post date | 2003-05-08T13:13:22Z |
I am migrating from BDE to IBO. My own component (a descendent of
TwinControl which acts as a container for other controls), which I
use in my applications, has a property to set the database to
interact with. With the BDE I was able to write a property editor to
display all the BDE aliases accessing the Session variable.
For compatibly purposes, I would like this property to work similar
to the Databasename property on the IBODatasets. (The IBODataset
property editors only work with descendents of IBO objects.) To work
around this I had hoped the see how the IBO components find the
IBODatabase when they get created.
I look through all the IBO4 .pas, .int, .pbl files for the code, but
can not find it.
Can some one tell me where this code is or how I can have my
component find a IBOdatabase (that may be in a different unit in a
project)?
Thanks in advance.
Bruce
TwinControl which acts as a container for other controls), which I
use in my applications, has a property to set the database to
interact with. With the BDE I was able to write a property editor to
display all the BDE aliases accessing the Session variable.
For compatibly purposes, I would like this property to work similar
to the Databasename property on the IBODatasets. (The IBODataset
property editors only work with descendents of IBO objects.) To work
around this I had hoped the see how the IBO components find the
IBODatabase when they get created.
I look through all the IBO4 .pas, .int, .pbl files for the code, but
can not find it.
Can some one tell me where this code is or how I can have my
component find a IBOdatabase (that may be in a different unit in a
project)?
Thanks in advance.
Bruce