RAD Studio
ContentsIndex
PreviousUpNext
Adding a Record or Union to the Type Library
To add a record or union to a type library

  1. On the toolbar, click on the record icon or the union icon. The selected type element is added to the object list pane .
  2. Type a name for the record or union. At this point, the new record or union contains no fields.
  3. With the record or union selected in the object list pane, click on the field icon in the toolbar. Specify the field's name and type, using the Attributes page.
  4. Repeat step 3 for as many fields as you need.
Once you have defined the record or union, the new type is available for use by the type library or any other type library that references it from its uses page. For example, you can use the record or union as the type for a property or parameter.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!