Adding an Alias to the Type Library

From RAD Studio
Jump to: navigation, search

Go Up to Using the Type Library Editor


To add an alias to a type library

  1. On the toolbar, click the alias icon. An alias type is added to the object list pane.
  2. Type a name for the alias. By default, the new alias stands for a Long Integer type. Use the Attributes page to change this to the type you want the alias to represent.

Once you have added an alias, 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 alias as the type for a property or parameter.

See Also