|
JWSCL Documentation
|
class function CreateInstance(const ClassReference: TComponentClass; const Owner: TComponent = nil): IJwAutoPointer; overload;
|
Parameters |
Description |
|
const ClassReference: TComponentClass |
defines the class type which is to be created |
|
const Owner: TComponent = nil |
defines the component owner which is applied to the component constructor. |
Returns an auto pointer interface that is resposible for auto destruction.
CreateInstance creates a new auto pointer class instance and also creates the given component class. Use instead Wrap if you cannot use standard component constructor or your class does not support a standard component constructor.
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|