RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Function::Function Constructor (AutoCmd&)

Creates an instance of System::Function::Create for a specified method.

Pascal
constructor Create(const name: String&);
constructor Create(const src: AutoCmd&);
C++
Function(const String& name);
Function(const AutoCmd& src);

System::Function::Create has two constructors: a version that takes the name of the method it represents, and a copy constructor. When creating a new System::Function::Create object for a method, the name parameter must be the same as the name of the method as it appears in the interface declaration. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!