RAD Studio (Common)
ContentsIndex
PreviousUpNext
New VCL Component Wizard

ComponentNew VCL Component 

Use this wizard to create a new VCL component for Delphi for Win32, C++. The personality of your current project is detected and used for the VCL component.  

If you do not have a project open when you invoke the wizard, an initial page is displayed (Personality, Framework, and Platform page). On this page, you specify the personality that you want the VCL component to use.

Note: Not all of the features described here are present for every instance of the wizard.

Displays a list of installed components that can be used as ancestors for the new component.

Item 
Description 
Component list  
Shows a list of installed components, including the component name and the unit (namespace) name. Select the component that will serve as the ancestor of the VCL component you want to create.  
Search GlassSearch  
Enter a search string. The list automatically includes only those components that match your search string. Click X to clear the search string.  

Allows you to edit the parameters that will be used to create the new component.

Item 
Description 
Class Name  
Enter a class name for the new component, or accept the default value.  
Palette Page  
Select the Tool Palette category where you want the new component to appear.  
Unit name  
Enter the name of the unit for the new component. To browse for a file, click [...] (ellipsis).  
Search path  
Enter the search path for the new component. The default value is the value set for the library path on Tools->Options->Environment Options.  

Specify whether you want to create a new unit, install the new component in an existing package, or install the component in a new package. If you have a project open, you can also add the component to the current project.

Item 
Description 
Create Unit  
Click to cause the IDE to create a new unit.  
Install to Existing Package  
Click to install the new component into a package that already exists.  
Install to New Package  
Click to cause the IDE to generate a new package.  
Add unit to <my_new_package>  
Click to install the new component in the specified package You can create this package by invoking FileNewOtherDelphi ProjectsPackage before starting the New VCL Component wizard, as described in Creating a New VCL Component.  

Allows you to select an existing package in which to install the new VCL component.

Item 
Description 
Installed package list  
Lists all the packages currently installed on the system.  
Search GlassSearch  
Enter a search string. The list automatically includes only those packages that match your search string. Click X to clear the search string.  
Browse  
Click Browse to look for a package that is not on the list.  

Allows you to enter the name of a new package that the wizard will create to contain the new component.

Item 
Description 
Package name  
Enter a file name for the new package. Click the [...] button to navigate to the folder where the new package will reside.  
Description  
Enter a description for the new package.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!