Re: [UOPL-Architect] how design uopl gui applications
Status: Planning
Brought to you by:
bsstmiller
|
From: Dennis L. <de...@de...> - 2004-12-03 18:50:50
|
Re: the tInterfacedPersistent -->> tInterfacedComponent descendants being
registerable.
It will be interesting to see if a tInterfacedComponent replica of the
TComponent interface is registerable.
I don't see why it wouldn't be... It will be an easy enough experiment to
run.
You would simply have to typecast it in the Registration proc.
The registration syntax would be:
RegisterComponents('MyComponentPage',[tComponentClass(TMyComponent)]);
The interfaces of both artifacts would have to match; and if so, the IDE
registration mechanism probably won't notice.
This means that would have to hack the original source of tComponent; and
clone a tInterfaceComponent version; which we would probably have to only be
able to distribute as a DCU... But, I don't see that as a show-stopper.
If the technique works, then we can actually introduce it to the delphi
community, as it will allow them to unify artificacts at the component
level, which will come in really handy for things like plug-ins.
Dennis Landi
Allied Data, Inc.
800 204 2722
http://www.dennislandi.com
|