To create custom components that you can use again,

  1. Drag a component or components to the Form or Report design surface, and arrange them the way you want them.

Type a class name for the customized component.

Specify an entire path name and the file (with the .CC extension) in which you want to store this component. Note that the components in a .CC file are treated as a group, and although you can add them to the palette individually in this dialog box (by checking the appropriate check box), you can remove them from the palette only as a group. So, if you want to be able to add and remove custom components from the palette separately, put each in its own file.

Check the Place In Component Palette check box, if you want this component to appear on the Component palette. If you are putting the component in an existing .CC file whose components are already on the palette, and you don’t check this box, then later, if you want to add the component to the palette, you’ll have to remove the .CC file from the Set Up Custom Components dialog box, and then add it anew.

The custom component is now stored in the .CC file you specified. You can open the file in the Source editor.