CreateExtension([ProgId: String = ""]);
CreateExtension(ProgId: string);
ProgId. Class of the object, for which an extension is created.
By default, an extension is created for repository objects. An extension for repository objects can also be created by setting this parameter value to KeWsp.WxMetabaseObject.
The CreateExtension method creates an extension for a workspace shape.
This method is used to arrange various objects in the workspace. After creating an extension use the IWxShape.Extension property to define the object corresponding to workspace shape.
In the current version extensions are created to display on the workspace shapes corresponding to repository objects.
Executing the example requires a form with the Button1 button, the WorkspaceBox component named WorkspaceBox1 and a data source for the WorkspaceBox1. The repository contains a form with the Form_1 identifier.
Add links to the Andy, Drawing, Metabase, Workspace system assemblies.
After executing the example the repository object is positioned in the workspace.
See also: