Icon Creating a New Component

Use the following steps to create a new component in the IDE:
  • Click on the Library tab on the main menu.


  • Click on the New Component button on the Library menu:

    Image


  • The New Component dialog will now appear:

    Image


  • In this dialog, specify the class name of the component that you wish to create in the first edit control. By convention, any class name should be prefixed with a capital "T" (for "Type").

    Next, select the applicable component library for the ancestor component class so that you can select the proper ancestor class name.

    Information If a project is open in the IDE, then the default selected component library will be the component library used by the open project. If a project is not open in the IDE, then the default selected component library will be the last component library used for any operation in the IDE, with the initial component library being the Client component library.

    Finally, select the ancestor component class name for the new component.


  • Click on the OK button.
A new source unit containing the skeleton code for the new component class will now appear in the code editor. Please see the Using the Code Editor topic for more information on using the code editor.
Image